[PATCH 0/3] crypto: caam/qi2 - algorithm priority configurable
From: Vincent Jardin via B4 Relay
Date: Mon Sep 28 2026 - 10:02:40 EST
dpaa2_caam registers its skcipher, aead and ahash algorithms at a fixed
priority above the ARMv8 Crypto Extensions, so on DPAA2 SoCs
every in-kernel consumers of AES, SHA or GCM use the SEC.
Patch 1 adds dpaa2_caam.priority module parameter
Patch 2 doc fsl,qi2-crypto-priority property on the SEC node
Patch 3 reads it at probe, the module parameter takes precedence
Signed-off-by: Vincent Jardin <vjardin@xxxxxxx>
---
Vincent Jardin (3):
crypto: caam/qi2 - algorithm priority be a parameter
dt-bindings: crypto: fsl,sec-v4.0: add fsl,qi2-crypto-priority
crypto: caam/qi2 - priority from the DTS
.../devicetree/bindings/crypto/fsl,sec-v4.0.yaml | 9 ++++++
drivers/crypto/caam/caamalg_qi2.c | 35 ++++++++++++++++++++--
2 files changed, 41 insertions(+), 3 deletions(-)
---
base-commit: 67aefeccc4101a93627f36abbd049f191b54f903
change-id: 20260928-for-upstream-caam-qi2-priority-76301b8eb3a6
Best regards,
--
Vincent Jardin <vjardin@xxxxxxx>