From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796503128; b=wD1kpjeBDbvXMm973xH61ispdSeYP9Eg9+UC0TLjchwkEv4kJ3NTniV9L9CtmvR86sqd 5xBBobQhwFdEDzF3p3k+wltuextMYupxLUywgA49Yck0RaYD+hkRlJ08WUquAAOJHTTi1 rYGowMvCKE7B7htXupOyT1S/mTFXJ7of7JbLV16qTti2CC8xDYVmxQqxr9TEBgiFKWIcd 6bnYnG3ppTAQd/kTt30v8oRm+0VZC+CKDVT6Y3fFgporHvOV3tnPdgNhqaxijwCcSgbSF F0BFuIqrcBHYU1CY17OGPOYDxvRogaZi9P52/nyhlJ6jEl8/KijduUYgshDy4prDimQ== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796503128; h=Received:DKIM-Signature:Date:From:To:Cc:Subject:Message-ID: References:MIME-Version:Content-Type:Content-Disposition:In-Reply-To; bh=ZGTT2LYoQOa2SIbsW2140DdhBQZOgTs29dnxnRuV16I=; b=WmkkLBx7igRCnXmlqlAIlmWuyVMttdy3KMUHZCZOYYc/7fITbt11a1jcAVudsiLsaltq Jn1JNKKfM24S5Yt8+TSP/cxliiHUtvgALTCGuQNFf0cR16L2U3mB6rKUMVA8qZQcilb1O ksJWvz+p4oBag3HHMAZQOCPgaR1SjFf8S0HIvnYSojf4LT42TIFfH8q4+9CNoSvNmVSSC F3xYjB2r65cACDiARR3x6LI8Oc6whAJlIKGPoiAvsnbmk3AfKzQH5ciilcNa0iMpPXgFu uHSEgPFgWax/BgAx+OmoTKzckBAzmfruB8Hfb9PYrJPIBs++BVElhDy6uJHoh6qhNdA== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=LWx+tfWP; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id CA0CD606A31F for ; Sat, 5 Dec 2026 20:38:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=LWx+tfWP Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3C3D21F00936; Sat, 5 Dec 2026 20:38:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796503128; bh=ZGTT2LYoQOa2SIbsW2140DdhBQZOgTs29dnxnRuV16I=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=LWx+tfWPraPNUZyS4PcgWbNVpzICIpVqmPIF+9Yh/zqOQZaK0KtgauUUFD4Soyqbn 8cCeeArFJrSB38NTDs4B1084cnYNArAdMzzWYk4YB+w1UO8eNd6yg+mv8Tdth4R8Ia EsA0g10BBRMVUXM+l61YxfglrH8xAsI0TaUO/bVnbIDbdj9XztAWAsb1ad/VKejfKE F65l1F7QevFl3EyzlgvI+NxMEzhZdUF9pdQm4MFrG4WZd4S59a5PK6KuS+0dopj0HD lKEnDDvEh991qsPVn5y42OVX/mPJHzQrbRhBxL5Nt0eZq+Su+kU/UQliRGCom54M/3 erxBu2GwscZsQ== Date: Sat, 5 Dec 2026 12:38:45 -0800 From: Eric Biggers To: Paul Fertser Cc: Arnd Bergmann , Herbert Xu , linux-crypto@vger.kernel.org, linux-geode@lists.infradead.org, Florian Bezdeka , Gert Robben , x86@kernel.org Subject: Re: [PATCH] crypto: geode-aes - Remove driver Message-ID: <20261205203845.GA3189@quark> References: <20261204052433.2864924-1-ebiggers@kernel.org> <0d0a9545-980f-4feb-925c-1c0ab9b675c6@app.fastmail.com> X-Mailing-List: linux-crypto@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: On Sat, Dec 05, 2026 at 07:57:17PM +0300, Paul Fertser wrote: > Hi everybody, > > On Fri, Dec 04, 2026 at 09:46:26AM +0100, Arnd Bergmann wrote: > > On Fri, Dec 4, 2026, at 06:24, Eric Biggers wrote: > > > > > In summary: given the lack of evidence of any current users, the > > > orphaned and discontinued status of the platform itself, the remaining > > > bugs, and the presence of well-tested generic implementations of the > > > same algorithms, this driver isn't worth keeping. Remove it. > ... > > > > - OpenWRT does support a geode image with the crypto module enabled. > > I found two reference to using this for disk encryption, both for > > the PC engines Alix board: > > https://openwrt.org/toh/pcengines/alix?rev=1520110574 > > https://www.twam.info/hardware/alix/using-geodes-aes-engine-on-alix3d3 > > Apparently this is usable with the crypto driver but not using > > the very slow CPU for software AES. > > The Alix hardware platform was actively marketed from 2007 to 2017 > > when it became "Not recommended for new designs" and "EOL" in 2021. > > > > Paul Fertser enabled the crypto module in OpenWRT in 2022, adding > > him to Cc in case he has more information on who might still be > > using this. > > Alas I can't tell much more, I added it on request from an IRC user, > and the last time he joined the channel was on 21 Aug 2022, and that > was an an issue back from 2020[0]. I highly doubt he's still using > that Alix board. > > My subjective impression is that dropping individual platform driver > can be critical for system performance for certain usecases and that > essentially violates the "we do not break userspace" rule. When > someone tries to remove the whole platform that will bring more > attention from the real users if any left and then you will see what's > actually still needed I guess. > > [0] https://github.com/openwrt/openwrt/issues/7794 I see it a bit differently. The untested/unmaintained drivers in drivers/crypto/ often have correctness regressions in kernel updates due to their lack of testing. Furthermore, most of them (including this one) have always mishandled edge cases, resulting in incorrect output or kernel crashes if any user strays outside the "common" path (like enabling highmem, or enabling preemption for the 13 years where that was broken in this driver and caused data corruption). Correctness is the first priority for cryptography, not performance. Clearing out untested crypto drivers like this one is the only way the kernel community can realistically ensure that users of orphaned platforms like this have correct and reliable cryptography. The status quo isn't working. Remember that crypto drivers are not like "normal" drivers (sound, graphics, networking, etc.) where if you don't have the drivers then major user-facing functionality is missing. The crypto algorithms have well-tested software implementations, so everything using crypto in the kernel still works regardless. For orphaned platforms like this one, I think effort is much better spent on things that are uniquely required for Linux to work at all on the platform. - Eric