Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 50C1AC433EF for ; Fri, 5 Nov 2021 18:00:28 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 2DFC760FE3 for ; Fri, 5 Nov 2021 18:00:28 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234445AbhKESDG (ORCPT ); Fri, 5 Nov 2021 14:03:06 -0400 Received: from mail-ua1-f52.google.com ([209.85.222.52]:34561 "EHLO mail-ua1-f52.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234172AbhKESDE (ORCPT ); Fri, 5 Nov 2021 14:03:04 -0400 Received: by mail-ua1-f52.google.com with SMTP id b3so18615577uam.1; Fri, 05 Nov 2021 11:00:24 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=au20GLB/AwFB4ER6edB7mFBdjMKbP9KemXLMUAQRuws=; b=70Dqg0zFTz+/ywAeju2PWoodLqcdhCFbWmjzEUuhGlPpRWuMSdO3tJVTUWzwJUOOkb S0/KWBkHkcPapoSDAdm5tUEZDOUiJKU1AmLJbFjERBwFzwJSp38y/hkfjfIJp18dND8o an7nHz80az2RvXeIj7qUxyZHyqJotferXqWPIEO6x9LUl/S121i8h5mIVEMBECjQpBmk OYNtX9tXgEJfJzVaRMyopKsqSYWGpuNhtbCsWEDovXxudirmmn3wYse55uLVHZavYEQI yBVEgSTzPxTPGa0Aas3+NZnYyb1KRCz+yIxdpHiNy3qAB29KZuyw8tkSgeQRMRRLqzq5 T+tA== X-Gm-Message-State: AOAM530/Aa5W5yV56KNyiRqQUmqFHyvsu6Q9mLGy2wNnjn29Jckg0Q/x o5NWmcn0KKVd+Lg7QuDZz1S5gxh7ckWhtQ== X-Google-Smtp-Source: ABdhPJzZ4L16A2hBj8cb2dUszxMli3hyl/+Vw64MVMiTXnEhdd3j0I5qjUma5n6AzczusEiwpvE7bA== X-Received: by 2002:a67:ec10:: with SMTP id d16mr7351906vso.58.1636135224152; Fri, 05 Nov 2021 11:00:24 -0700 (PDT) Received: from mail-ua1-f51.google.com (mail-ua1-f51.google.com. [209.85.222.51]) by smtp.gmail.com with ESMTPSA id i27sm1432100uab.8.2021.11.05.11.00.23 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 05 Nov 2021 11:00:23 -0700 (PDT) Received: by mail-ua1-f51.google.com with SMTP id i6so18539501uae.6; Fri, 05 Nov 2021 11:00:23 -0700 (PDT) X-Received: by 2002:ab0:15a1:: with SMTP id i30mr56283928uae.122.1636135223241; Fri, 05 Nov 2021 11:00:23 -0700 (PDT) MIME-Version: 1.0 References: <20211003002801.GA5435@gondor.apana.org.au> <20211019132802.GA14233@gondor.apana.org.au> <20211104121612.GA8044@gondor.apana.org.au> <20211104133044.GA8563@gondor.apana.org.au> <20211105072608.GA13584@gondor.apana.org.au> In-Reply-To: <20211105072608.GA13584@gondor.apana.org.au> From: Geert Uytterhoeven Date: Fri, 5 Nov 2021 19:00:12 +0100 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: crypto: api - Fix boot-up crash when crypto manager is disabled To: Herbert Xu Cc: Ido Schimmel , Damien Le Moal , Nathan Chancellor , Linux Crypto Mailing List , Vladis Dronov , Simo Sorce , Eric Biggers , "llvm@lists.linux.dev" , kernel test robot , "linux-kernel@vger.kernel.org" , Guenter Roeck Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Herbert, On Fri, Nov 5, 2021 at 8:26 AM Herbert Xu wrote: > Could you all try this patch please? > > ---8<--- > When the crypto manager is disabled, we need to explicitly set > the crypto algorithms' tested status so that they can be used. > > Fixes: cad439fc040e ("crypto: api - Do not create test larvals if...") > Reported-by: Geert Uytterhoeven > Reported-by: Ido Schimmel > Reported-by: Guenter Roeck > Signed-off-by: Herbert Xu Thanks! Tested-by: Geert Uytterhoeven Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds