Re: [PATCH] crypto: qce - Replace with stub driver

Demi Marie Obenour <[email protected]>
Newsgroups org.kernel.vger.linux-crypto,org.infradead.lists.linux-arm-kernel,org.kernel.vger.linux-arm-msm,org.kernel.vger.linux-kernel
Message-ID <[email protected]>
On 8/12/26 04:07, Bartosz Golaszewski wrote:
> On Wed, 12 Aug 2026 00:41:10 +0200, Eric Biggers <[email protected]> said:
>> On Tue, Aug 11, 2026 at 08:42:55AM -0500, Bartosz Golaszewski wrote:
>>
>>> No, the rationale has never been this. FWIW it can be that it's used for
>>> testing of the crypto module on a supported platform and that is already
>>> enough of a reason to keep it upstream.
>>>
>>> As I've said before: we don't just drop maintained drivers from linux.
>>
>> We definitely do if the drivers are not useful or appropriate for
>> inclusion in the kernel, though the policy varies by subsystem.  Even
>> just last month an entire filesystem got dropped despite someone wanting
>> to maintain it.
>>
> 
> I suppose you're talking about EFS? A thing that can't even be tested on real
> hardware? This is a much more extreme case. Here you have several people
> representing the vendor saying they want to keep and maintain it. I'm fine
> having my own tree and sending PRs to Herbert if he agrees and you are of
> course entirely free to disregard any patches targetting it.

Would you be okay with one of these options?

1. Make the stub driver as the default, with
   the real driver guarded by an off-by-default Kconfig option.

2. Keep the driver as is (with the power management issue fixed),
   but don't register any algorithm implementations with the crypto API.

3. Only register algorithm implementations with the crypto API if a
   non-default Kconfig option is selected.

4. Only register algorithm implementations with the crypto API if a
   non-default module parameter is selected.

5. Move the driver out of drivers/crypto, delete the algorithm
   registrations, and then add support for restricted media content
   decryption later.

The last option would be my preferred one.

Also, if Qualcomm has customers who use the QCE via the crypto API,
is Qualcomm aware of _why_ they made that choice?  From Eric's and
my perspective, that seems like a very strange decision, unless there
are factors that Eric and I are not aware of.

Finally, would you be willing to have a group call to discuss this
at some point?  That might be a more suitable venue for this kind of
discussion, and could potentially lead to a conclusion faster.  Also,
while at least I couldn't sign any NDAs, there might be information that
you could discuss there that you cannot post to a public mailing list.
-- 
Sincerely,
Demi Marie Obenour (she/her/hers)
OpenPGP_signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEopQtqVJW1aeuo9/sszaHOrMp8lMFAmp8oHMACgkQszaHOrMp
8lMQ9A//QJhJ0WxnD3czDPUecAwiool8hr6eNkI+7yOuU64ELLj5lqjVwiU4Mpi2
cFtokcg5uTSi47zXn1zva367V8mUpBLEhig5Y8sY0LPoz6GhqIqBZRKBeMnDS49D
conE2J7MTlZPmF9CHlI/U4ox5ppQkGsDmMSpjvllIbZTsFgUTXFgzMV8ZPJ2fNKv
U36tafg51dlENv/J5gOcRubblJz+WmJ9RoN1h5r0rjLYT/6P+eArUjKn3RylzFG5
AmgaABzAXBsHZ/0ciPcMmOGxc/fuHSfOxSYnbsSIN3V4IYmof0QSiGeHBCJlnNX0
Ahzld3abt5DZM5S97MNiBI3TT7swLYPdTEHrt3Qk/zCdR5tlWsTYx4kjVdpIKhoV
RPJqbx/oqPgdYu1QrUxUSY46PYbVhawBvtvcljRqtaFyzryK94qtTCQEOzSddWwz
N7sHidjwjvhuhiTPzm4ppCbHJA36JzoBlbUOA0cygvUBpoozU5Hlgr6OKgGPumAg
R6vthtvcn2FnFx4Gt3om8FOvLrMLPQWCmN6cgDY8IOja18cxJexupdwB2Qtr59m7
oZXzNPrjdjMDNE8DUNvvusn0f8xKQSCwYLZDsblCgdahkRuw1n++bLwL23EXvnKr
P/GUjDHX9/FHNE9C1HwDEHQ5eJV2FRqwAx8ywso4+Y1BJaoAF38=
=kYiV
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.