]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
crypto: caam - use JobR's space to access page 0 regs
authorGaurav Jain <gaurav.jain@nxp.com>
Tue, 26 Nov 2024 06:46:07 +0000 (12:16 +0530)
committerHerbert Xu <herbert@gondor.apana.org.au>
Tue, 10 Dec 2024 05:44:20 +0000 (13:44 +0800)
commit73a7496c218b7ca19ba276f54758e7f0adf269c5
tree6e45658842c2fe8a9158c036b5610000d581adca
parent4e6ccd94bd9310f67418b522cb92c487a45a166c
crypto: caam - use JobR's space to access page 0 regs

On iMX8DXL/QM/QXP(SECO) & iMX8ULP(ELE) SoCs, access to controller
region(CAAM page 0) is not permitted from non secure world.
use JobR's register space to access page 0 registers.

Fixes: 6a83830f649a ("crypto: caam - warn if blob_gen key is insecure")
Signed-off-by: Gaurav Jain <gaurav.jain@nxp.com>
Reviewed-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Reviewed-by: Horia Geantă <horia.geanta@nxp.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/caam/blob_gen.c