From: Eric Biggers <ebiggers@kernel.org>
To: Bartosz Golaszewski <brgl@kernel.org>
Cc: Demi Marie Obenour <demiobenour@gmail.com>,
Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>,
Herbert Xu <herbert@gondor.apana.org.au>,
Russell King <linux@armlinux.org.uk>,
"David S. Miller" <davem@davemloft.net>,
linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org, linux-crypto@vger.kernel.org,
linux-arm-msm@vger.kernel.org, stable@vger.kernel.org
Subject: Re: [PATCH v2] drivers/crypto: Mark QCE as BROKEN
Date: Thu, 23 Jul 2026 13:58:01 -0700 [thread overview]
Message-ID: <20260723205801.GD110634@quark> (raw)
In-Reply-To: <20260723141701.GA1900@sol>
On Thu, Jul 23, 2026 at 07:17:19AM -0700, Eric Biggers wrote:
> On Thu, Jul 23, 2026 at 02:44:27AM -0700, Bartosz Golaszewski wrote:
> > On Wed, 22 Jul 2026 18:20:40 +0200, Eric Biggers <ebiggers@kernel.org> said:
> > > On Wed, Jul 22, 2026 at 01:33:51AM -0700, Bartosz Golaszewski wrote:
> > >> > Also, what can the current driver do that cannot be done better using
> > >> > software crypto? I understand that you have future plans to add more
> > >> > features to the driver, but those are not relevant to this discussion.
> > >> >
> > >>
> > >> We can offload crypto operations to the QCE saving CPU cycles but more
> > >> importantly, the QCE provides HW based isolation which some vendors care
> > >> about.
> > >
> > > Do you have any concrete proof of anyone using this with a specific
> > > Linux kernel feature and actually getting a benefit from it?
> > >
> >
> > I'm not required to produce a proof of Qualcomm's clients using it. That's
> > never been a requirement to keep a driver in mainline. I'm saying that Qualcomm
> > wants to keep it and I've stepped up to fix and maintain it, which is what I'm
> > doing.
> >
> > But yes, I know about companies that do use this driver as is for whatever
> > reasons. I'm not sure I can mention them so I won't.
>
> I know that it's enabled in the defconfig and Qualcomm's BSP, so some
> people have the module loaded on their systems. That doesn't count as
> use, let alone it being useful.
>
> I'm not asking for a client name or any confidential information. This
> is a technical discussion, and I'm asking for proof that this driver can
> actually provide a benefit for any specific Linux kernel feature over
> the widely used and well-vetted alternatives (ICE and ARMv8 CE).
>
> "We want this upstream for reasons that we refuse to disclose" is never
> a reason for adding (or keeping) code in Linux. There has to be a
> technical justification.
>
> Meanwhile, the strong technical arguments in favor of removal or marking
> it BROKEN that have been presented remain unaddressed.
FYI, I took some time to take a closer look at this driver, and I found
a bunch more bugs:
- https://lore.kernel.org/linux-crypto/20260723183438.GB93534@quark/
- https://lore.kernel.org/linux-crypto/20260723192514.GA110634@quark/
- https://lore.kernel.org/linux-crypto/20260723202704.GB110634@quark/
- https://lore.kernel.org/linux-crypto/20260723205342.GC110634@quark/
Overall, I think this demotion is extraordinarily well justified.
The pending fixes for some bugs don't change the big picture. In fact,
the introduction of BAM locking seems likely to exacerbate the
performance issues.
It would not be responsible to defer to the hardware vendor here. The
community has a responsibility to uphold high technical standards,
especially for cryptography.
- Eric
prev parent reply other threads:[~2026-07-23 20:58 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-07-12 21:31 [PATCH v2] drivers/crypto: Mark QCE as BROKEN Demi Marie Obenour via B4 Relay
2026-07-12 21:31 ` Demi Marie Obenour
2026-07-13 2:57 ` Eric Biggers
2026-07-13 4:47 ` Greg KH
2026-07-13 13:07 ` Eric Biggers
2026-07-13 13:19 ` Greg KH
2026-07-13 14:42 ` Demi Marie Obenour
2026-07-13 15:31 ` Greg KH
2026-07-13 19:49 ` Demi Marie Obenour
2026-07-13 19:56 ` Demi Marie Obenour
2026-07-17 8:18 ` Herbert Xu
2026-07-21 8:24 ` Bartosz Golaszewski
2026-07-21 18:29 ` Demi Marie Obenour
2026-07-22 8:33 ` Bartosz Golaszewski
2026-07-22 15:46 ` Demi Marie Obenour
2026-07-22 16:33 ` Eric Biggers
2026-07-22 16:20 ` Eric Biggers
2026-07-23 9:44 ` Bartosz Golaszewski
2026-07-23 14:17 ` Eric Biggers
2026-07-23 20:58 ` 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=20260723205801.GD110634@quark \
--to=ebiggers@kernel.org \
--cc=bartosz.golaszewski@oss.qualcomm.com \
--cc=brgl@kernel.org \
--cc=davem@davemloft.net \
--cc=demiobenour@gmail.com \
--cc=herbert@gondor.apana.org.au \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-crypto@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@armlinux.org.uk \
--cc=stable@vger.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.