[PATCH v2 0/2] No access to CAAM page 0 registers

From: meenakshi . aggarwal
Date: Wed Mar 22 2023 - 02:17:45 EST


From: Meenakshi Aggarwal <meenakshi.aggarwal@xxxxxxx>

This series includes patches to reduce access to page 0 registers of
CAAM from non-secure world.

In non-secure world, access to page 0 registers of CAAM is
forbidden, so we are using alias registers available in Job Ring's
register address space.

Allow CAAM's page 0 access to OPTEE, as OPTEE runs in secure world.

changes in v2:
- Fixed compile time warnings coming with compilation flag W=1

Horia GeantA (2):
crypto: caam - reduce page 0 regs access to minimum
crypto: caam - OP-TEE firmware support

drivers/crypto/caam/caamalg.c | 21 +++----
drivers/crypto/caam/caamhash.c | 10 ++--
drivers/crypto/caam/caampkc.c | 6 +-
drivers/crypto/caam/caamrng.c | 6 +-
drivers/crypto/caam/ctrl.c | 105 +++++++++++++++++++++++----------
drivers/crypto/caam/debugfs.c | 12 ++--
drivers/crypto/caam/debugfs.h | 7 ++-
drivers/crypto/caam/intern.h | 1 +
8 files changed, 109 insertions(+), 59 deletions(-)

--
2.25.1