Re: [PATCH v2] crypto: caam/qi2 - lower the algorithm priority

From: Herbert Xu

Date: Thu Oct 08 2026 - 04:27:06 EST


On Tue, Sep 29, 2026 at 10:29:04PM +0200, Vincent Jardin via B4 Relay wrote:
> From: Vincent Jardin <vjardin@xxxxxxx>
>
> Lower the priority to 100, as done for QAT in commit
> 8024774190a5 ("crypto: qat - lower priority for skcipher and aead algorithms").
>
> The SEC stays reachable by driver name, and user space can raise its
> priority through the crypto_user interface.
>
> Suggested-by: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
> Link: https://lore.kernel.org/r/aruvJECCDNdguMdw@xxxxxxxxxxxxxxxxxxx
> Signed-off-by: Vincent Jardin <vjardin@xxxxxxx>
> ---
> v2 lowers the priority to 100, as was done for QAT, and leaves the
> choice to user space through crypto_user.
> ---
> Changes in v2:
> - Drop both the dpaa2_caam.priority module parameter and the
> fsl,qi2-crypto-priority DT property
> - Lower the default priority to 100, user space adjust it with
> crypto_user (Herbert).
> - No policy in the device tree (Krzysztof, Eric).
> - Link to v1: https://lore.kernel.org/r/20260928-for-upstream-caam-qi2-priority-v1-0-e4a8e5f01dbc@xxxxxxx
> ---
> drivers/crypto/caam/caamalg_qi2.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)

Patch applied. Thanks.
--
Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt