From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from fhigh-a3-smtp.messagingengine.com (fhigh-a3-smtp.messagingengine.com [103.168.172.154]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8C1421925B8; Tue, 25 Feb 2025 21:42:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=103.168.172.154 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740519722; cv=none; b=skwww6YlXrVFLQMKBakj5WgIE+NmXjEEMFxYKUobFIeUssYfIqWM9xL2rG0Rzci1bMJEkmk7AMSG5onxKZQsyKGwlsF88bRyyk+ttZlil7NwndPu05sY67+eqml0FCRUfziM9Y5ZgwNtxVaYrYfYazYTPbZIK4eRAG1naWA1lhg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740519722; c=relaxed/simple; bh=HdTv9CB5HWU9vWfOn/u4h3nvvKwIS2GLS6S2i62V/B8=; h=MIME-Version:Date:From:To:Cc:Message-Id:In-Reply-To:References: Subject:Content-Type; b=iImCm6LlvvEeSCuu/xNuTPRfH2vXcS0uinaSggPcveJfFi0iwu7IO5zH18/3qS/Oh1X1T4lcAoC1XxloK7lMag3tVhwKMyd3KA8REKNs3a+vbbxpMvQGnxfrFnKQV7MhKKw4YCLkAFMt5GtoQzNZnFGjxsyvEavm6XKFF7Xtt5I= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arndb.de; spf=pass smtp.mailfrom=arndb.de; dkim=pass (2048-bit key) header.d=arndb.de header.i=@arndb.de header.b=Ezp6ZY0K; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b=Lv997lUg; arc=none smtp.client-ip=103.168.172.154 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arndb.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=arndb.de Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=arndb.de header.i=@arndb.de header.b="Ezp6ZY0K"; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b="Lv997lUg" Received: from phl-compute-11.internal (phl-compute-11.phl.internal [10.202.2.51]) by mailfhigh.phl.internal (Postfix) with ESMTP id 83EAC11400FA; Tue, 25 Feb 2025 16:41:59 -0500 (EST) Received: from phl-imap-11 ([10.202.2.101]) by phl-compute-11.internal (MEProxy); Tue, 25 Feb 2025 16:41:59 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=arndb.de; h=cc :cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm3; t=1740519719; x=1740606119; bh=MtYdg6N3u1ZvNXN25E9k3h9XmFGTIiZ/1bHuhQqIar8=; b= Ezp6ZY0KYr4iDDMxa4MKeExP6HHLI6z5iWLlb740zBnbdNh7lx1f9pfXWz9RXNXu sWWyCjoBURL5fLCZiykljyNnPEWTgMCItEi5Lvqp/jpRhAs3vzlGvZAGStXpGuG2 kb9Lxt5bx/4/359HSmtgYEfb91xPxJsoroV6WeWllwrfYrphITTBfAF3wj5vV4HN 3nMRPK8p/nvSPwZFu7Ajfs2nDn7goqF4oclbzAvL8dH+K0MmuztBrndTs8SucTxZ blnoxiHWR0Z/3O37rWidrcbugK0GzuvcaprJu6UpTgkz1xb4UUmuRQpVYxOAmmXA pg+x7yxuh0l6t/MLNhLPZw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t=1740519719; x= 1740606119; bh=MtYdg6N3u1ZvNXN25E9k3h9XmFGTIiZ/1bHuhQqIar8=; b=L v997lUg6tL38799F8UHUN2MLk8X3jEVGDdqA33/ICRugznJi1xdic/WH9Tq+rBDt 7wcaPNv6y8CQRIq2FxseGHqoUk2jETGtHwgRQ+Hkj1Xp401y8yBtDuYfbHvuPS4a czNxgTnaa+OCmLRSZgqb6almiScgBtG53CzIY6aD8vMp/EfetBZMgdzi2RezwW/V aG7GsF/NuA+z+kLwLgXNkrDKPMkRJYACdRdXUqjGDJr/N5Ptrh/LKHoaTy3Iam4k ns6S+BpbnqGWjNyKt4C+GZ72diLPbqEaSO0KMo4TLIW7NBA9M1lqXxB2g3R5ZCza YZqouaweitfG0eQVWiaKA== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefvddrtddtgdekvdektdcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpggftfghnshhusghstghrihgsvgdp uffrtefokffrpgfnqfghnecuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivg hnthhsucdlqddutddtmdenucfjughrpefoggffhffvvefkjghfufgtgfesthejredtredt tdenucfhrhhomhepfdetrhhnugcuuegvrhhgmhgrnhhnfdcuoegrrhhnugesrghrnhgusg druggvqeenucggtffrrghtthgvrhhnpeefhfehteffuddvgfeigefhjeetvdekteekjeef keekleffjeetvedvgefhhfeihfenucffohhmrghinhepkhgvrhhnvghlrdhorhhgnecuve hluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheprghrnhgusegr rhhnuggsrdguvgdpnhgspghrtghpthhtohepvdefpdhmohguvgepshhmthhpohhuthdprh gtphhtthhopehtshgsohhgvghnugesrghlphhhrgdrfhhrrghnkhgvnhdruggvpdhrtghp thhtoheptggrthgrlhhinhdrmhgrrhhinhgrshesrghrmhdrtghomhdprhgtphhtthhope gurghvvghmsegurghvvghmlhhofhhtrdhnvghtpdhrtghpthhtohephhgvrhgsvghrthes ghhonhguohhrrdgrphgrnhgrrdhorhhgrdgruhdprhgtphhtthhopegvsghighhgvghrsh esghhoohhglhgvrdgtohhmpdhrtghpthhtohepjhgrmhgvshdrsghothhtohhmlhgvhies hhgrnhhsvghnphgrrhhtnhgvrhhshhhiphdrtghomhdprhgtphhtthhopegrrhgusgeskh gvrhhnvghlrdhorhhgpdhrtghpthhtoheprghrnhgusehkvghrnhgvlhdrohhrghdprhgt phhtthhopehjrghrkhhkoheskhgvrhhnvghlrdhorhhg X-ME-Proxy: Feedback-ID: i56a14606:Fastmail Received: by mailuser.phl.internal (Postfix, from userid 501) id CE9722220072; Tue, 25 Feb 2025 16:41:56 -0500 (EST) X-Mailer: MessagingEngine.com Webmail Interface Precedence: bulk X-Mailing-List: linux-crypto@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Date: Tue, 25 Feb 2025 22:40:37 +0100 From: "Arnd Bergmann" To: "Will Deacon" , "Arnd Bergmann" Cc: "Herbert Xu" , "David S . Miller" , "Catalin Marinas" , "Thomas Bogendoerfer" , "Harald Freudenberger" , "Holger Dengler" , "Heiko Carstens" , "Vasily Gorbik" , "Alexander Gordeev" , "Christian Borntraeger" , "Sven Schnelle" , "Martin K. Petersen" , "Ard Biesheuvel" , "Eric Biggers" , "James E . J . 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 Message-Id: In-Reply-To: <20250225213344.GA23792@willie-the-truck> References: <20250225164216.4807-1-arnd@kernel.org> <20250225213344.GA23792@willie-the-truck> Subject: Re: [PATCH] crypto: lib/Kconfig - fix chacha/poly1305 dependencies more more Content-Type: text/plain Content-Transfer-Encoding: 7bit On Tue, Feb 25, 2025, at 22:33, Will Deacon wrote: > 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. Sorry, that must have been an older commit ID. Today's linux-next contains 56b8e4bb7622 ("crypto: lib/Kconfig - Fix lib built-in failure when arch is modular") which is in git://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git Arnd