Skip to content

crypto/fsl: allow accessing Job Ring from non-TrustZone

Emanuele Ghidoli u-boot 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 1 replyIn review
  2. v13 patches 1 replySuperseded

Changes in v2 from the cover letter

* Kconfig: spelt "CAAM" instead of caam
* Kconfig: removed "default=n"
v1: https://lore.kernel.org/all/[email protected]/

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3crypto/fsl: allow accessing Job Ring from non-TrustZonedrivers/crypto/fsl/Kconfig drivers/crypto/fsl/jr.c drivers/crypto/fsl/jr.h+27 -00 replies
2/3configs: colibri-imx7: set non-secure boot mode as defaultconfigs/colibri_imx7_emmc_defconfig+0 -10 replies
3/3configs: colibri-imx7: allow accessing job-rings from non-TrustZoneconfigs/colibri_imx7_defconfig configs/colibri_imx7_emmc_defconfig+2 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

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

From: Emanuele Ghidoli <[email protected]>

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"")

---
v2:
* Kconfig: spelt "CAAM" instead of caam
* Kconfig: removed "default=n"
v1: https://lore.kernel.org/all/[email protected]/

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          |  6 ++++++
 drivers/crypto/fsl/jr.c             | 19 +++++++++++++++++++
 drivers/crypto/fsl/jr.h             |  2 ++
 5 files changed, 29 insertions(+), 1 deletion(-)
Signature · 1 line
2.34.1