From: Eric Biggers <ebiggers@kernel.org>
To: Sumit Garg <sumit.garg@kernel.org>
Cc: linux-crypto@vger.kernel.org,
Herbert Xu <herbert@gondor.apana.org.au>,
linux-arm-msm@vger.kernel.org,
linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org,
Demi Marie Obenour <demiobenour@gmail.com>,
Bartosz Golaszewski <brgl@kernel.org>,
Kuldeep Singh <kuldeep.singh@oss.qualcomm.com>,
Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>,
Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Subject: Re: [PATCH] crypto: qce - Remove driver
Date: Fri, 24 Jul 2026 06:51:11 -0700 [thread overview]
Message-ID: <20260724135111.GA1876@sol> (raw)
In-Reply-To: <amM22cX7KTqyOoOk@sumit-xelite>
On Fri, Jul 24, 2026 at 03:26:41PM +0530, Sumit Garg wrote:
> Hi Eric,
>
> On Thu, Jul 23, 2026 at 10:06:45PM -0700, Eric Biggers wrote:
> > This obsolete driver was already marked as BROKEN. However, keeping
> > BROKEN code around in the tree is unnecessary and causes problems. It's
> > much better to just remove it entirely. Let's do that.
> >
> > Crypto acceleration remains well-supported on Qualcomm SoCs via the
> > Qualcomm Inline Crypto Engine and the ARMv8 Crypto Extensions, which are
> > what Linux actually uses in practice. The obsolete QCE driver is a
> > dead-end approach. It's extremely slow and just doesn't work well.
>
> Not sure why only performance is seen as the major driver to drop crypto
> accelerators from kernel
Maybe you missed all the other reasons I gave too.
> while neglecting the security use-cases they support as well like:
>
> - Support for hardware backed keys
> - Support for secure media playback use-cases
The QCE driver doesn't support these features. So they aren't relevant
to this patch.
> I know it's not good to add functionality based on a prospective
> future use-cases but at the same time dropping functionality for it to be
> added again is just too much unnecessary churn.
This conflates current functionality, which doesn't meet upstream kernel
inclusion standards, with mostly-unrelated speculative future
functionality. Anything new should just start from a clean slate with
just what is actually needed.
> I am sure you are aware about support for hardware backed key use-cases
> for many of those crypto accelerators. NXP CAAM engine is one such
> example.
The CAAM driver does register a "cbc(paes)" algorithm with the crypto
API (i.e., CBC-AES with a hardware backed key). However, there's no
upstream user of that algorithm as far as I can tell.
But this is unrelated to this patch, which is for the QCE driver.
- Eric
prev parent reply other threads:[~2026-07-24 13:53 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-07-24 5:06 [PATCH] crypto: qce - Remove driver Eric Biggers
2026-07-24 5:28 ` Greg Kroah-Hartman
2026-07-24 7:36 ` Bartosz Golaszewski
2026-07-24 8:41 ` Greg Kroah-Hartman
2026-07-24 9:29 ` Bartosz Golaszewski
2026-07-24 14:14 ` Eric Biggers
2026-07-24 14:47 ` Bartosz Golaszewski
2026-07-24 15:04 ` Greg Kroah-Hartman
2026-07-24 15:09 ` Eric Biggers
2026-07-24 15:25 ` Greg Kroah-Hartman
2026-07-24 15:51 ` Eric Biggers
2026-07-27 13:26 ` Bartosz Golaszewski
2026-07-28 15:30 ` Eric Biggers
2026-07-28 15:22 ` Eric Biggers
2026-07-29 8:02 ` Konrad Dybcio
2026-07-29 14:55 ` Eric Biggers
2026-07-29 16:55 ` Konrad Dybcio
2026-07-29 17:18 ` Eric Biggers
2026-07-30 11:15 ` Konrad Dybcio
2026-07-30 16:40 ` Demi Marie Obenour
2026-07-29 12:02 ` Bartosz Golaszewski
2026-07-29 17:38 ` Eric Biggers
2026-07-24 9:56 ` Sumit Garg
2026-07-24 13:51 ` 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=20260724135111.GA1876@sol \
--to=ebiggers@kernel.org \
--cc=brgl@kernel.org \
--cc=demiobenour@gmail.com \
--cc=dmitry.baryshkov@oss.qualcomm.com \
--cc=gregkh@linuxfoundation.org \
--cc=herbert@gondor.apana.org.au \
--cc=kuldeep.singh@oss.qualcomm.com \
--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=sumit.garg@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.