Message ID | 20240328101724.127371-1-ghidoliemanuele@gmail.com |
---|---|
Headers | show |
Series | crypto/fsl: allow accessing Job Ring from non-TrustZone | expand |
On Thu, Mar 28, 2024 at 7:18 AM Emanuele Ghidoli <ghidoliemanuele@gmail.com> wrote: > > From: Emanuele Ghidoli <emanuele.ghidoli@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/ > > --- > v2: > * Kconfig: spelt "CAAM" instead of caam > * Kconfig: removed "default=n" > v1: https://lore.kernel.org/all/20240325114642.3664840-1-ghidoliemanuele@gmail.com/ Applied to u-boot-imx/next, thanks.
From: Emanuele Ghidoli <emanuele.ghidoli@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/ --- v2: * Kconfig: spelt "CAAM" instead of caam * Kconfig: removed "default=n" v1: https://lore.kernel.org/all/20240325114642.3664840-1-ghidoliemanuele@gmail.com/ 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(-)