mbox series

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

Message ID 20230302062055.1564514-1-meenakshi.aggarwal@nxp.com
Headers show
Series No access to CAAM page 0 registers | expand

Message

Meenakshi Aggarwal March 2, 2023, 6:20 a.m. UTC
From: Meenakshi Aggarwal <meenakshi.aggarwal@nxp.com>

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.

Horia GeantA (1):
  crypto: caam - reduce page 0 regs access to minimum

Horia Geantă (1):
  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     | 98 ++++++++++++++++++++++++----------
 drivers/crypto/caam/debugfs.c  | 11 ++--
 drivers/crypto/caam/debugfs.h  |  7 ++-
 drivers/crypto/caam/intern.h   |  3 +-
 8 files changed, 105 insertions(+), 57 deletions(-)