From: Konrad Dybcio <konradybcio@kernel.org>
To: Eric Biggers <ebiggers@kernel.org>,
Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Bartosz Golaszewski <brgl@kernel.org>,
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>,
Kuldeep Singh <kuldeep.singh@oss.qualcomm.com>,
Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Subject: Re: [PATCH] crypto: qce - Remove driver
Date: Wed, 29 Jul 2026 10:02:27 +0200 [thread overview]
Message-ID: <15904301-fd03-45e5-b909-dfce52449726@kernel.org> (raw)
In-Reply-To: <20260728152241.GA4281@quark>
On 7/28/26 5:22 PM, Eric Biggers wrote:
> On Fri, Jul 24, 2026 at 08:51:44AM -0700, Eric Biggers wrote:
>> It is consuming a lot of the community's time to help maintain,
>> including dealing with LLM-found bugs, with no clear benefit to anyone.
>> Even considering *just today* we can see someone sent a bug fix:
>> https://lore.kernel.org/linux-crypto/20260724081537.191992-2-thorsten.blum@linux.dev/
>
> Another example:
> https://lore.kernel.org/linux-crypto/d5de5a55-eb35-4ad5-8d53-12e188e156cb@oss.qualcomm.com/
>
>> It definitely *was* causing problems before it was disabled via the
>> crypto priority system (which made it unused in the kernel) and dropped
>> it from AF_ALG (which removed most of the unprivileged attack surface).
>> When anyone accidentally used it, it caused at least a huge performance
>> problem, and sometimes other problems too like filesystem hangs. It was
>> an issue for years.
>
> This actually seems to have been an overly-optimistic characterization!
> As per
> https://lore.kernel.org/linux-crypto/d5de5a55-eb35-4ad5-8d53-12e188e156cb@oss.qualcomm.com/
> this driver drains the battery on every system with the module loaded,
> even when no crypto requests are actually sent to it.
Unfortunately removing it drains way more battery, because the buses
never hit sync_state and are kept at their maximum frequencies:
[ 18.021823] qnoc-glymur interconnect-1: sync_state() pending due to 1dfa000.crypto
[ 18.029605] qnoc-glymur 16e0000.interconnect: sync_state() pending due to 1dfa000.crypto
(it transiently also pins DRAM and friends to max-freq which absolutely
kills battery life)
I understand your concerns given the past handling of this driver,
however I believe the nuclear option comes with way too much fallout..
Konrad
next prev parent reply other threads:[~2026-07-29 8:02 UTC|newest]
Thread overview: 22+ 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 [this message]
2026-07-29 14:55 ` Eric Biggers
2026-07-29 16:55 ` Konrad Dybcio
2026-07-29 17:18 ` Eric Biggers
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
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=15904301-fd03-45e5-b909-dfce52449726@kernel.org \
--to=konradybcio@kernel.org \
--cc=brgl@kernel.org \
--cc=demiobenour@gmail.com \
--cc=dmitry.baryshkov@oss.qualcomm.com \
--cc=ebiggers@kernel.org \
--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 \
/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.