linux/drivers/crypto/caam
Horia GeantA 0489929f73 crypto: caam - OP-TEE firmware support
caam driver needs to be aware of OP-TEE f/w presence, since some things
are done differently:

1. there is no access to controller's register page (note however that
some registers are aliased in job rings' register pages)

2 Due to this, MCFGR[PS] cannot be read and driver assumes
MCFGR[PS] = b'0 - engine using 32-bit address pointers.

This is in sync with the fact that:
-all i.MX SoCs currently use MCFGR[PS] = b'0
-only i.MX OP-TEE use cases don't allow access to controller register page

Signed-off-by: Horia GeantA <horia.geanta@nxp.com>
Signed-off-by: Meenakshi Aggarwal <meenakshi.aggarwal@nxp.com>
Reviewed-by: Gaurav Jain <gaurav.jain@nxp.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
2023-04-14 18:59:34 +08:00
..
blob_gen.c crypto: caam - Remove GFP_DMA and add DMA alignment padding 2023-01-06 17:15:47 +08:00
caamalg.c crypto: caam - reduce page 0 regs access to minimum 2023-04-14 18:59:34 +08:00
caamalg_desc.c
caamalg_desc.h
caamalg_qi.c crypto: caam - Fix edesc/iv ordering mixup 2023-02-28 16:30:58 +08:00
caamalg_qi2.c crypto: caam - Use ahash_request_complete 2023-01-27 18:58:09 +08:00
caamalg_qi2.h crypto: caam - Remove GFP_DMA and add DMA alignment padding 2023-01-06 17:15:47 +08:00
caamhash.c crypto: caam - reduce page 0 regs access to minimum 2023-04-14 18:59:34 +08:00
caamhash_desc.c crypto: caam - drop unexpected word 'for' in comments 2022-06-30 15:56:57 +08:00
caamhash_desc.h
caampkc.c crypto: caam - reduce page 0 regs access to minimum 2023-04-14 18:59:34 +08:00
caampkc.h
caamprng.c crypto: caam - Remove GFP_DMA and add DMA alignment padding 2023-01-06 17:15:47 +08:00
caamrng.c crypto: caam - reduce page 0 regs access to minimum 2023-04-14 18:59:34 +08:00
compat.h crypto: sha - split sha.h into sha1.h and sha2.h 2020-11-20 14:45:33 +11:00
ctrl.c crypto: caam - OP-TEE firmware support 2023-04-14 18:59:34 +08:00
ctrl.h
debugfs.c crypto: caam - OP-TEE firmware support 2023-04-14 18:59:34 +08:00
debugfs.h crypto: caam - reduce page 0 regs access to minimum 2023-04-14 18:59:34 +08:00
desc.h
desc_constr.h crypto: caam - Avoid GCC memset bug warning 2023-01-06 17:15:46 +08:00
dpseci-debugfs.c crypto: caam - remove unnecessary (void*) conversions 2023-03-24 18:22:29 +08:00
dpseci-debugfs.h
dpseci.c
dpseci.h
dpseci_cmd.h
error.c
error.h
intern.h crypto: caam - OP-TEE firmware support 2023-04-14 18:59:34 +08:00
jr.c crypto: caam/jr - add .shutdown hook 2023-03-24 18:22:28 +08:00
jr.h
Kconfig This update includes the following changes: 2022-05-27 18:06:49 -07:00
key_gen.c crypto: caam - Remove GFP_DMA and add DMA alignment padding 2023-01-06 17:15:47 +08:00
key_gen.h
Makefile This update includes the following changes: 2022-05-27 18:06:49 -07:00
pdb.h treewide: Replace zero-length arrays with flexible-array members 2022-02-17 07:00:39 -06:00
pkc_desc.c
qi.c crypto: caam - Fix edesc/iv ordering mixup 2023-02-28 16:30:58 +08:00
qi.h crypto: caam - Remove GFP_DMA and add DMA alignment padding 2023-01-06 17:15:47 +08:00
regs.h crypto: caam - warn if blob_gen key is insecure 2022-12-02 18:12:39 +08:00
sg_sw_qm.h
sg_sw_qm2.h
sg_sw_sec4.h