From mboxrd@z Thu Jan 1 00:00:00 1970 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 76EA9C021B2 for ; Tue, 25 Feb 2025 21:39:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=9CXSgSobSN6MAkSctVfHz4AtsXi3OTiuQS0F8D/auXY=; b=C0r9TJoN1iYzFPTsbCKe77H5Mh xrT5Fc+dCilIzL+NOk3VKjZTfuoSTS1uHEw2PHKQY9ITrgoO89B92clc3RbHPdaBAmCvohevGtT55 lyUshfrr4ZPZcayMKRaGlYwnrJ7cwU/ahoRt+8GQbGsW3bXgJkUj5XPXf0dQnFgdPbRmChmGBiCWc oeor+/MYUfxzmORIOHEZT0oguYKvB56xJFdCZKtCX/PZ7TbSN29mNqhkUhxwmeeC8rnRl/895J5ix g3GeJArj1bWpZm7Rf5r4BU0QH8trSWDaJMAss42Sx5siNk6xFT7ERQB+d1FT0lTHN9mvpmm4NIy3r ul/mec5Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1tn2eZ-00000001aNF-30wH; Tue, 25 Feb 2025 21:39:47 +0000 Received: from tor.source.kernel.org ([172.105.4.254]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1tn2Ys-00000001ZYp-0KQm for linux-arm-kernel@lists.infradead.org; Tue, 25 Feb 2025 21:33:54 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by tor.source.kernel.org (Postfix) with ESMTP id 718D7611FD; Tue, 25 Feb 2025 21:33:46 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 60A96C4CEDD; Tue, 25 Feb 2025 21:33:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1740519233; bh=tkbCqHo/M713wubuDMEEG8+yMclhPNrm1rcQ6FSts+o=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=TUVwHF4idDLldp3ni+zD6Po2mDLxrhVLakNSqszU3zbQtr5e9xIGitGwChQE8DPty Yz5Z37+uCs+Ag6oqZaPNV16ZccNfN5Q0NGjkBbjLSJxGUWhLG8dunPdnf9aDZAVFDN A5ppwCURBwrA67y0QNq46iqUHnKNlS11WU9CS4WWrXccACpiwlVjkMplEN0ODd+rSG xU2XqCOFIf7BkBuk9hMdGE3pZrB4Ib5RNgWAkCry50jaInzT1QvI5AnzbpWx681fOl HWkmPI2rPNkN6tN+yOuiTpX11ZVDTedYmiMJHHye4PL5SuRN6osuO4UC9Pvo0C3cF4 8x/2FoVjESVYg== Date: Tue, 25 Feb 2025 21:33:46 +0000 From: Will Deacon To: Arnd Bergmann Cc: Herbert Xu , "David S. Miller" , Catalin Marinas , Thomas Bogendoerfer , Harald Freudenberger , Holger Dengler , Heiko Carstens , Vasily Gorbik , Alexander Gordeev , Arnd Bergmann , Christian Borntraeger , Sven Schnelle , "Martin K. Petersen" , Ard Biesheuvel , Eric Biggers , James Bottomley , Jarkko Sakkinen , linux-crypto@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-mips@vger.kernel.org, linux-s390@vger.kernel.org Subject: Re: [PATCH] crypto: lib/Kconfig - fix chacha/poly1305 dependencies more more Message-ID: <20250225213344.GA23792@willie-the-truck> References: <20250225164216.4807-1-arnd@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20250225164216.4807-1-arnd@kernel.org> User-Agent: Mutt/1.10.1 (2018-07-13) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Tue, Feb 25, 2025 at 05:42:07PM +0100, Arnd Bergmann wrote: > From: Arnd Bergmann > > A recent change tries to fix Kconfig dependencies, but introduced > two problems in the process: > > - only arm, powerpc and x86 are changed, while mips, arm64 and s390 > are now broken > > - there are now configurations where the architecture enables its > own helper functions as loadable modules, but they remain silently > unused because CRYPTO_LIB_* falls back to the generic helpers > > Address both by changing the logic again: the architecture functions > select CRYPTO_ARCH_MAY_HAVE_LIB_CHACHA, which may be a loadable > module or built-in, and this controls whether the library is > also built-in. > > Fixes: 04f9ccc955c7 ("crypto: lib/Kconfig - Fix lib built-in failure when arch is modular") Which tree contains this change? I can't seem to resolve the SHA locally. Will