From: Eric Biggers <ebiggers@kernel.org>
To: Paul Fertser <fercerpav@gmail.com>
Cc: Arnd Bergmann <arnd@arndb.de>,
Herbert Xu <herbert@gondor.apana.org.au>,
linux-crypto@vger.kernel.org, linux-geode@lists.infradead.org,
Florian Bezdeka <florian@bezdeka.de>, Gert Robben <t2@gert.gr>,
x86@kernel.org
Subject: Re: [PATCH] crypto: geode-aes - Remove driver
Date: Sat, 5 Dec 2026 12:38:45 -0800 [thread overview]
Message-ID: <20261205203845.GA3189@quark> (raw)
In-Reply-To: <axRCbV/dQcIYPDbi@home.paul.comp>
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
prev parent reply other threads:[~2026-12-05 20:38 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-12-04 5:24 [PATCH] crypto: geode-aes - Remove driver Eric Biggers
2026-12-04 8:46 ` Arnd Bergmann
2026-12-05 16:57 ` Paul Fertser
2026-12-05 20:38 ` Eric Biggers [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20261205203845.GA3189@quark \
--to=ebiggers@kernel.org \
--cc=arnd@arndb.de \
--cc=fercerpav@gmail.com \
--cc=florian@bezdeka.de \
--cc=herbert@gondor.apana.org.au \
--cc=linux-crypto@vger.kernel.org \
--cc=linux-geode@lists.infradead.org \
--cc=t2@gert.gr \
--cc=x86@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox