[PATCH v1 0/3] crypto/fsl: allow accessing Job Ring from non-TrustZone

Emanuele Ghidoli ghidoliemanuele at gmail.com
Mon Mar 25 12:46:39 CET 2024


From: Emanuele Ghidoli <emanuele.ghidoli at toradex.com>

This series allows using Freescale CAAM Job Ring from Linux without having OP-TEE,
this is needed for example on Toradex Colibri iMX7 where we just have U-Boot + Linux kernel.

To achieve this add a new config option to allow the non-secure world to access job rings.

The functionality has been broken since U-Boot v2019.07, with commit 51f1357f3428
("Revert "drivers/crypto/fsl: assign job-rings to non-TrustZone"")

Link: https://lore.kernel.org/all/4b64a9de-a840-4065-a530-f81155b4b9f2@toradex.com/

Regards,
Emanuele Ghidoli

Emanuele Ghidoli (3):
  crypto/fsl: allow accessing Job Ring from non-TrustZone
  configs: colibri-imx7: set non-secure boot mode as default
  configs: colibri-imx7: allow accessing job-rings from non-TrustZone

 configs/colibri_imx7_defconfig      |  1 +
 configs/colibri_imx7_emmc_defconfig |  2 +-
 drivers/crypto/fsl/Kconfig          |  7 +++++++
 drivers/crypto/fsl/jr.c             | 19 +++++++++++++++++++
 drivers/crypto/fsl/jr.h             |  2 ++
 5 files changed, 30 insertions(+), 1 deletion(-)

-- 
2.34.1



More information about the U-Boot mailing list