crypto: caam - i.MX8ULP donot have CAAM page0 access
authorPankaj Gupta <pankaj.gupta@nxp.com>
Mon, 29 Apr 2024 06:28:54 +0000 (11:58 +0530)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 10 May 2024 09:15:24 +0000 (17:15 +0800)
commitd2835701d93cae6d597672ef9dc3fa889867031a
tree70ccc4af92e7bf7d61af7bc616c704d55b55d3ca
parent6144436803b7a8738f3defa1fd6b4b6751f6793e
crypto: caam - i.MX8ULP donot have CAAM page0 access

iMX8ULP have a secure-enclave hardware IP called EdgeLock Enclave(ELE),
that control access to caam controller's register page, i.e., page0.

At all, if the ELE release access to CAAM controller's register page,
it will release to secure-world only.

Clocks are turned on automatically for iMX8ULP. There exists the caam
clock gating bit, but it is not advised to gate the clock at linux, as
optee-os or any other entity might be using it.

Signed-off-by: Pankaj Gupta <pankaj.gupta@nxp.com>
Reviewed-by: Gaurav Jain <gaurav.jain@nxp.com>
Reviewed-by: Horia Geanta <horia.geanta@nxp.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/caam/ctrl.c