From 611b15d344ff9c5e5be17e2f76df71feb9f8caa4 Mon Sep 17 00:00:00 2001 From: Vincent Jardin Date: Tue, 29 Sep 2026 22:29:04 +0200 Subject: [PATCH] crypto: caam/qi2 - lower the algorithm priority 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 Link: https://lore.kernel.org/r/aruvJECCDNdguMdw@gondor.apana.org.au Signed-off-by: Vincent Jardin Reviewed-by: Sahil Malhotra Signed-off-by: Herbert Xu --- drivers/crypto/caam/caamalg_qi2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/crypto/caam/caamalg_qi2.c b/drivers/crypto/caam/caamalg_qi2.c index 959e7963f161..c95afcb2c751 100644 --- a/drivers/crypto/caam/caamalg_qi2.c +++ b/drivers/crypto/caam/caamalg_qi2.c @@ -26,7 +26,7 @@ #include #include -#define CAAM_CRA_PRIORITY 2000 +#define CAAM_CRA_PRIORITY 100 /* max key is sum of AES_MAX_KEY_SIZE, max split key size */ #define CAAM_MAX_KEY_SIZE (AES_MAX_KEY_SIZE + CTR_RFC3686_NONCE_SIZE + \