Hi
> -Original Message-
> From: Christoph Fritz
> Sent: Monday, March 20, 2023 1:19 PM
> To: u-boot
> Cc: Gaurav Jain ; Meenakshi Aggarwal
>
> Subject: [EXT] [PATCH] image-fit: aligned output of hash calculation
>
> Caution: EXT Email
>
> When calcula
Reviewed-by: Gaurav Jain
Acked-by: Peng Fan
---
changes in v4:
- upgrade to latest.
changes in v3:
- fix warning: implicit declaration of function ‘flush_dcache_range’
[-Wimplicit-function-declaration]
drivers/crypto/fsl/fsl_rsa.c | 10 ++
1 file changed, 10 insertions(+)
diff --git
modified caam descriptor to support black key blob.
Signed-off-by: Gaurav Jain
---
changes in v2:
- rebase to latest
cmd/blob.c| 12
drivers/crypto/fsl/desc.h | 1 +
drivers/crypto/fsl/fsl_blob.c | 21 +
drivers/crypto/fsl/jobdesc.c
Hi Marek
> -Original Message-
> From: Marek Vasut
> Sent: Friday, April 26, 2024 9:33 AM
> To: thar...@gateworks.com
> Cc: u-boot@lists.denx.de; Angelo Dureghello ;
> Emanuele Ghidoli ; Fabio Estevam
> ; Gaurav Jain ; Heinrich
> Schuchardt ; Michal Simek ;
>
From: Ruchika Gupta
Enable "optee_rpmb" command to write/read named persistent values
created on RPMB by opening session with OPTEE AVB TA.
This provides easy test for establishing a session with OPTEE
TA and storage of persistent data in MMC RPMB.
It includes following subcommands:
optee_rpmb
From: Ruchika Gupta
Enable support to compile OPTEE driver, access AVB TA
and RPMB API's access via RPC from OPTEE for lx2160
Signed-off-by: Ruchika Gupta
---
configs/lx2160ardb_tfa_defconfig | 5 +
1 file changed, 5 insertions(+)
diff --git a/configs/lx2160ardb_tfa_defconfig b/configs/lx
Enable support to compile OPTEE driver, access AVB TA and
RPMB API's access via RPC from OPTEE for lx2160.
Enable "optee_rpmb" command to write/read named persistent values
created on MMC RPMB.
v1 can be referred here
https://patchwork.ozlabs.org/project/uboot/patch/20200916100058.9092-1-gaurav.j
From: Ruchika Gupta
Enable "optee_rpmb" command to write/read named persistent values
created on RPMB by opening session with OPTEE AVB TA.
This provides easy test for establishing a session with OPTEE
TA and storage of persistent data in MMC RPMB.
It includes following subcommands:
optee_rpmb
From: Ruchika Gupta
Enable support to compile OPTEE driver, access AVB TA
and RPMB API's access via RPC from OPTEE for lx2162
Signed-off-by: Ruchika Gupta
Signed-off-by: Gaurav Jain
---
Depends-on:
<http://patchwork.ozlabs.org/project/uboot/patch/1599473527-21511-3-git-se
Reviewed-by: Gaurav Jain
Acked-by: Peng Fan
---
drivers/crypto/fsl/fsl_rsa.c | 10 ++
1 file changed, 10 insertions(+)
diff --git a/drivers/crypto/fsl/fsl_rsa.c b/drivers/crypto/fsl/fsl_rsa.c
index 897ee855ea..335b7fe25a 100644
--- a/drivers/crypto/fsl/fsl_rsa.c
+++ b/drivers/crypto/fsl
Hi Fabio
> -Original Message-
> From: Fabio Estevam
> Sent: Wednesday, June 15, 2022 6:11 PM
> To: Gaurav Jain
> Cc: U-Boot-Denx ; Stefano Babic ;
> Peng Fan ; dl-uboot-imx ; Horia
> Geanta ; Varun Sethi ; Ye Li
>
> Subject: [EXT] Re: [PATCH v3] crypto/fsl: f
wrong end address passed to flush_dcache_range.
modified the flush_dache logic for scatter list elements.
Fixes: 1919f58a8f (crypto/fsl: fsl_hash: Fix dcache issue in caam_hash_finish)
Signed-off-by: Gaurav Jain
---
changes in v3:
- fix error: left shift count >= width of
type [-Werror=sh
caam driver model enabled in spl for secure boot.
fsl_rsa_mod_exp driver enabled in spl for validating uboot image.
Signed-off-by: Gaurav Jain
---
MAINTAINERS | 1 +
arch/arm/dts/ls1021a-twr-u-boot.dtsi| 29 +
arch/arm/dts/ls1021a
Hi Stefano
Can you help to review this patch?
Regards
Gaurav Jain
> -Original Message-
> From: Gaurav Jain
> Sent: Monday, April 18, 2022 4:04 PM
> To: Stefano Babic ; u-boot@lists.denx.de
> Cc: Fabio Estevam ; Priyanka Jain
> ; Ye Li ; Horia Geanta
> ; Silvano Di
Hi Stefano
This patch is put into state "changes requested".
But it is a different patch in fsl_rsa.
There is no change requested with this patch.
Regards
Gaurav Jain
> -Original Message-
> From: Stefano Babic
> Sent: Wednesday, June 15, 2022 6:20 PM
> To: Gaura
t/uboot/patch/20220616101009.809953-1-gaurav.j...@nxp.com/
Regards
Gaurav Jain
> -Original Message-
> From: Stefano Babic
> Sent: Wednesday, June 29, 2022 12:51 PM
> To: Gaurav Jain ; Stefano Babic ;
> Fabio Estevam
> Cc: U-Boot-Denx ; Peng Fan ; dl-
> uboot-imx ; Ho
Hello Andrey
There is a patch in review related caam hash.
Please check if it fixes your problem.
http://patchwork.ozlabs.org/project/uboot/patch/20220616101009.809953-1-gaurav.j...@nxp.com/
Regards
Gaurav Jain
> -Original Message-
> From: ZHIZHIKIN Andrey
> Sent: Friday, July
Hello Andrey
Right now I am not sure what could cause the issue.
As per our previous discussions, JR0 can not be used in uboot, so you need to
mark it as disabled until kernel device tree is not sync.
To debug more, can you run hash command with HASH_VERIFY.
Regards
Gaurav Jain
> -Origi
Hi Fabio
Thanks for the patch information.
@Rasmus Villemoes I hope this fixed your problem?
Regards
Gaurav Jain
> -Original Message-
> From: Fabio Estevam
> Sent: Monday, October 10, 2022 7:45 PM
> To: Rasmus Villemoes ; Marcel Ziswiler
>
> Cc: ZHIZHIKIN Andrey ;
Hi Priyanka
Stefano has applied the patches for imx.
Please help to apply the layerscape patches.
Regards
Gaurav Jain
> -Original Message-
> From: sba...@denx.de
> Sent: Tuesday, April 12, 2022 7:05 PM
> To: Gaurav Jain ; u-boot@lists.denx.de
> Subject: [EXT] [PATCH v1
-off-by: Gaurav Jain
---
drivers/crypto/fsl/jr.c | 11 ++-
include/fsl_sec.h | 6 +-
2 files changed, 15 insertions(+), 2 deletions(-)
diff --git a/drivers/crypto/fsl/jr.c b/drivers/crypto/fsl/jr.c
index 1d951cf0a6..85a3dac796 100644
--- a/drivers/crypto/fsl/jr.c
+++ b/drivers
issue: blob decapsulation operation store the decrypted data
in memory even if ICV check failed.
fix: clear the blob data output memory.
Fixes: c5de15cbc8 (crypto/fsl: Add command for encapsulating/decapsulating
blobs)
Signed-off-by: Gaurav Jain
Reviewed-by: Kshitiz Varshney
Tested-by
: d7af2baa49 (crypto/fsl: Fix HW accelerated hash commands)
Signed-off-by: Gaurav Jain
---
drivers/crypto/fsl/fsl_hash.c | 15 +--
1 file changed, 9 insertions(+), 6 deletions(-)
diff --git a/drivers/crypto/fsl/fsl_hash.c b/drivers/crypto/fsl/fsl_hash.c
index 2379b70c2d..a5d364ea42
modified caam descriptor to support black key blob.
Signed-off-by: Gaurav Jain
---
cmd/blob.c| 12
drivers/crypto/fsl/desc.h | 1 +
drivers/crypto/fsl/fsl_blob.c | 21 +
drivers/crypto/fsl/jobdesc.c | 24
: d7af2baa49 (crypto/fsl: Fix HW accelerated hash commands)
Signed-off-by: Gaurav Jain
Reviewed-by: Fabio Estevam
---
drivers/crypto/fsl/fsl_hash.c | 14 --
1 file changed, 8 insertions(+), 6 deletions(-)
diff --git a/drivers/crypto/fsl/fsl_hash.c b/drivers/crypto/fsl/fsl_hash.c
index
From: Ye Li
Update the Kconfig and Makefile to allow build for iMX8M and
restrict the build only in u-boot.
Signed-off-by: Ye Li
Reviewed-by: Gaurav Jain
---
arch/arm/mach-imx/Kconfig | 2 +-
arch/arm/mach-imx/Makefile | 4
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a
From: Ye Li
Fix wrong environment.h and remove DECLARE_GLOBAL_DATA_PTR
Fixes: 30e39ac7c9 (imx: imx7 Support for Manufacturing Protection)
Signed-off-by: Ye Li
Reviewed-by: Gaurav Jain
---
arch/arm/mach-imx/cmd_mfgprot.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a
rng driver enabled to read random number using caam.
Signed-off-by: Gaurav Jain
---
drivers/crypto/fsl/jr.c | 8 +++-
drivers/crypto/fsl/rng.c | 8 +++-
2 files changed, 14 insertions(+), 2 deletions(-)
diff --git a/drivers/crypto/fsl/jr.c b/drivers/crypto/fsl/jr.c
index 85a3dac796
rng driver enabled to read random number using caam.
Signed-off-by: Gaurav Jain
---
drivers/crypto/fsl/jr.c | 8 +++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/drivers/crypto/fsl/jr.c b/drivers/crypto/fsl/jr.c
index 85a3dac796..acd29924f7 100644
--- a/drivers/crypto/fsl
Hello Stefano
> -Original Message-
> From: Stefano Babic
> Sent: Friday, April 22, 2022 2:29 AM
> To: Gaurav Jain ; Stefano Babic ; u-
> b...@lists.denx.de
> Cc: Fabio Estevam ; Priyanka Jain
> ; Ye Li ; Horia Geanta
> ; Silvano Di Ninno ; Varun
> Sethi ; dl
Reviewed-by: Gaurav Jain
Acked-by: Peng Fan
---
drivers/crypto/fsl/fsl_rsa.c | 9 +
1 file changed, 9 insertions(+)
diff --git a/drivers/crypto/fsl/fsl_rsa.c b/drivers/crypto/fsl/fsl_rsa.c
index 897ee855ea..7ea0c193f9 100644
--- a/drivers/crypto/fsl/fsl_rsa.c
+++ b/drivers/crypto/fsl
Hello Stefan
> -Original Message-
> From: Stefan Roese
> Sent: Friday, April 29, 2022 6:24 PM
> To: U-Boot Mailing List
> Cc: Gaurav Jain ; 'dullf...@yahoo.com
> Subject: [EXT] fsl_hash.c: Alignment problem when using caam_hash() for FIT
> images
>
Reviewed-by: Gaurav Jain
> -Original Message-
> From: Stefan Roese
> Sent: Friday, April 29, 2022 7:05 PM
> To: u-boot@lists.denx.de
> Cc: Gaurav Jain ; dullf...@yahoo.com
> Subject: [EXT] [PATCH] crypto: fsl_hash: Remove unnecessary alignment check
> in caam_has
Reviewed-by: Gaurav Jain
Acked-by: Peng Fan
---
drivers/crypto/fsl/fsl_rsa.c | 9 +
1 file changed, 9 insertions(+)
diff --git a/drivers/crypto/fsl/fsl_rsa.c b/drivers/crypto/fsl/fsl_rsa.c
index 897ee855ea..38d4d5ddc4 100644
--- a/drivers/crypto/fsl/fsl_rsa.c
+++ b/drivers/crypto/fsl
Hello Stefano
This patch is already merged in kernel
https://patchwork.kernel.org/project/linux-crypto/patch/20220420120601.1015362-1-feste...@gmail.com/
Can you help to check and merge this in Uboot as well.
Regards
Gaurav Jain
> -Original Message-
> From: Gaurav Jain
> Sen
Hello Stefano
Michael Trimarchi has shared the patch to fix imx6dl_mamoj spl size error.
I have also shared the v11 for caam driver model after adding the final
comments .
Can you help to apply the series?
Regards
Gaurav Jain
> -Original Message-
> From: Gaurav Jain
> Sent:
Hi Stefano
Kshitiz has already a posted a patch which fixes the reported failure and
merged by Priyanka.
http://patchwork.ozlabs.org/project/uboot/patch/20220407120518.748609-1-kshitiz.varsh...@nxp.com/
So I think v11 can be applied?
Regards
Gaurav Jain
> -Original Message-
>
From: Ye Li
If probing caam_jr returns failure, the variable "dev" will not be
initialized, so we can't use dev->name for the error print.
Otherwise it will cause crash.
Signed-off-by: Ye Li
Reviewed-by: Gaurav Jain
---
arch/arm/cpu/armv7/ls102xa/cpu.c| 2 +-
arch
implement get f/w version api.
print ele f/w version in spl.
Signed-off-by: Gaurav Jain
Reviewed-by: Peng Fan
Reviewed-by: Pankaj Gupta
---
arch/arm/include/asm/arch-imx8ulp/s400_api.h | 2 +
board/freescale/imx8ulp_evk/spl.c| 19 +
drivers/misc/imx8ulp/s400_api.c
HW accelerated hash operations are giving incorrect hash output.
so add flush and invalidate for input/output hash buffers.
Fixes: 94e3c8c4fd (crypto/fsl - Add progressive hashing support using hardware
acceleration.)
Signed-off-by: Gaurav Jain
---
drivers/crypto/fsl/fsl_hash.c | 8
1
wrong end address passed to flush_dcache_range.
modified the flush_dache logic for scatter list elements.
Fixes: 1919f58a8f (crypto/fsl: fsl_hash: Fix dcache issue in caam_hash_finish)
Signed-off-by: Gaurav Jain
---
drivers/crypto/fsl/fsl_hash.c | 18 --
1 file changed, 12
Hi Fabio
> -Original Message-
> From: Fabio Estevam
> Sent: Wednesday, June 8, 2022 4:20 AM
> To: Heiko Thiery
> Cc: Stefan Roese ; U-Boot-Denx ; Gaurav
> Jain ; dullf...@yahoo.com; Rasmus Villemoes
> ; Schrempf Frieder
> ; ZHIZHIKIN Andrey geosystems.com
Hi Andrey
> -Original Message-
> From: ZHIZHIKIN Andrey
> Sent: Wednesday, June 8, 2022 11:59 AM
> To: Gaurav Jain ; Fabio Estevam
> ; Heiko Thiery
> Cc: Stefan Roese ; U-Boot-Denx ;
> dullf...@yahoo.com; Rasmus Villemoes ;
> Schrempf Frieder ; Horia Geanta
>
disabled use of JR0 in SPL and uboot, as JR0 is reserved
for HAB in TF-A.
Signed-off-by: Gaurav Jain
---
arch/arm/dts/imx8mm-evk-u-boot.dtsi| 1 +
arch/arm/dts/imx8mn-ddr4-evk-u-boot.dtsi | 1 +
arch/arm/dts/imx8mp-evk-u-boot.dtsi| 1 +
arch/arm/dts/imx8mq-evk-u-boot.dtsi
add ARCH_MISC_INIT to initilaize caam jr driver.
Signed-off-by: Gaurav Jain
---
board/freescale/common/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/board/freescale/common/Kconfig b/board/freescale/common/Kconfig
index 6553bf63bf..b0e6e43f4f 100644
--- a/board/freescale/common
add ARCH_MISC_INIT to initilaize caam jr driver.
Signed-off-by: Gaurav Jain
---
board/freescale/common/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/board/freescale/common/Kconfig b/board/freescale/common/Kconfig
index 6553bf63bf..b0e6e43f4f 100644
--- a/board/freescale/common
wrong end address passed to flush_dcache_range.
modified the flush_dache logic for scatter list elements.
Fixes: 1919f58a8f (crypto/fsl: fsl_hash: Fix dcache issue in caam_hash_finish)
Signed-off-by: Gaurav Jain
---
drivers/crypto/fsl/fsl_hash.c | 18 --
1 file changed, 12
Hello Andrey
> -Original Message-
> From: ZHIZHIKIN Andrey
> Sent: Wednesday, June 8, 2022 8:31 PM
> To: Gaurav Jain ; u-boot@lists.denx.de; Stefano Babic
> ; Fabio Estevam ; Tommaso Merciai
> ; Michael Trimarchi
> ; Marek Vasut ; Simon
> Glass ; Patrick Delaunay
Hi Fabio
I can not see the patch in my mails.
Can you include me using my mail id.
Regards
Gaurav Jain
> -Original Message-
> From: Fabio Estevam
> Sent: Friday, June 10, 2022 1:36 AM
> To: Gaurav Jain
> Cc: ZHIZHIKIN Andrey ; u-
> b...@lists.denx.de; Stefano Babic
added device tree support for job ring driver.
sec is initialized based on job ring information processed
from device tree.
Signed-off-by: Gaurav Jain
---
cmd/Kconfig | 1 +
drivers/crypto/fsl/Kconfig | 7 +
drivers/crypto/fsl/Makefile | 2 +
drivers/crypto/fsl/jr.c
added api and descriptor for blob key encryption key(bkek) generation.
added api for random number generation.
Signed-off-by: Gaurav Jain
Signed-off-by: Ji Luo
---
drivers/crypto/fsl/desc.h | 5 +++
drivers/crypto/fsl/fsl_blob.c | 82 +++
drivers/crypto/fsl
disabled use of JR0 in SPL and uboot, as JR0 is reserved
for secure boot.
Signed-off-by: Gaurav Jain
---
arch/arm/dts/imx8mm-evk-u-boot.dtsi | 18 +-
arch/arm/dts/imx8mm.dtsi | 1 +
arch/arm/dts/imx8mn-ddr4-evk-u-boot.dtsi | 18 +-
arch/arm
i.MX8MM/MN/MP/MQ - added support for JR driver model.
sec is initialized based on job ring information processed
from device tree.
Signed-off-by: Gaurav Jain
---
arch/arm/Kconfig | 2 +-
arch/arm/include/asm/arch-imx8m/imx-regs.h | 1 +
arch/arm/mach-imx/imx8m
i.MX6(SX/UL) - added support for JR driver model.
removed sec_init() call, sec is initialized based on
job ring information processed from device tree.
Signed-off-by: Gaurav Jain
---
arch/arm/mach-imx/mx6/Kconfig | 8
arch/arm/mach-imx/mx6/soc.c | 15 +++
2 files
i.MX7D - added support for JR driver model.
removed sec_init() call, sec is initialized based on
job ring information processed from device tree.
Signed-off-by: Gaurav Jain
---
arch/arm/Kconfig | 2 +-
arch/arm/mach-imx/mx7/Kconfig | 3 +++
arch/arm/mach-imx/mx7/soc.c | 15
added crypto node in device tree.
sec is initialized based on job ring information processed
from device tree.
Signed-off-by: Gaurav Jain
---
arch/arm/Kconfig | 2 +-
arch/arm/dts/imx7ulp.dtsi| 24
arch/arm/mach-imx/mx7ulp/Kconfig | 4
i.MX8(QM/QXP) - updated device tree for supporting DM in SPL.
disabled use of JR1 in SPL and uboot, as JR1 is reserved
for SECO FW.
Signed-off-by: Gaurav Jain
---
arch/arm/dts/fsl-imx8dx.dtsi | 61 +++-
arch/arm/dts/fsl-imx8qm-mek-u-boot.dtsi | 34
i.MX8(QM/QXP) - added support for JR driver model.
sec is initialized based on job ring information processed
from device tree.
Signed-off-by: Gaurav Jain
Signed-off-by: Horia Geantă
---
arch/arm/Kconfig | 3 +++
arch/arm/include/asm/arch-imx8/imx-regs.h | 5
From: Ye Li
fix hwrng performance issue in kernel.
Signed-off-by: Ye Li
Acked-by: Gaurav Jain >
---
drivers/crypto/fsl/jr.c | 109 ++--
include/fsl_sec.h | 1 +
2 files changed, 94 insertions(+), 16 deletions(-)
diff --git a/drivers/crypto/fsl/j
LS(1021/1012/1028/1043/1046/1088/2088), LX2160 - updated device tree
Signed-off-by: Gaurav Jain
---
arch/arm/dts/fsl-ls1012a.dtsi | 46 ++-
arch/arm/dts/fsl-ls1028a.dtsi | 41 ++-
arch/arm/dts/fsl-ls1043a.dtsi | 45
LS(1021/1012/1028/1043/1046/1088/2088), LX2160, LX2162
platforms are enabled with JR driver model.
removed sec_init() call from board files.
removed CONFIG_FSL_CAAM from defconfig files.
sec is initialized based on job ring information processed
from device tree.
Signed-off-by: Gaurav Jain
device tree imported from linux kernel.
c500bee1c5b2 (tag: v5.14-rc4) Linux 5.14-rc4
Signed-off-by: Gaurav Jain
---
arch/powerpc/dts/p2041si-post.dtsi | 1 +
arch/powerpc/dts/p3041si-post.dtsi | 1 +
arch/powerpc/dts/p4080si-post.dtsi | 1 +
arch/powerpc/dts/p5040si-post.dtsi | 1
removed sec_init() call and CONFIG_FSL_CAAM from defconfig.
sec is initialized based on job ring information processed
from device tree.
Signed-off-by: Gaurav Jain
---
arch/powerpc/cpu/mpc85xx/Kconfig | 44 +++
arch/powerpc/cpu/mpc85xx/cpu_init.c | 20
Signed-off-by: Gaurav Jain
---
MAINTAINERS | 7 +++
1 file changed, 7 insertions(+)
diff --git a/MAINTAINERS b/MAINTAINERS
index 776ff703b9..bd689fc1a7 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -1254,3 +1254,10 @@ T: git https://source.denx.de/u-boot/u-boot.git
F: configs
Hi Simon
> -Original Message-
> From: Simon Glass
> Sent: Tuesday, August 17, 2021 9:39 PM
> To: Gaurav Jain
> Cc: U-Boot Mailing List ; Franck Lenormand
> ; Stefano Babic ; Fabio
> Estevam ; Peng Fan ; Priyanka
> Jain ; Ye Li ; Horia Geanta
> ; Ji Luo ;
Hello Sean
> -Original Message-
> From: Sean Anderson
> Sent: Tuesday, August 17, 2021 9:51 PM
> To: Gaurav Jain ; u-boot@lists.denx.de; Franck
> Lenormand
> Cc: Stefano Babic ; Fabio Estevam ;
> Peng Fan ; Simon Glass ; Priyanka
> Jain ; Ye Li ; Horia Geanta
Hello Andrey
> -Original Message-
> From: ZHIZHIKIN Andrey
> Sent: Friday, July 15, 2022 8:36 PM
> To: Gaurav Jain
> Cc: u-boot@lists.denx.de; feste...@denx.de; sba...@denx.de; Michael
> Walle ; Tommaso Merciai
> ; Michael Trimarchi
> ; Marek Vasut ; Simon
&g
wrong end address passed to flush_dcache_range.
modified the flush_dache logic for scatter list elements.
Fixes: 1919f58a8f (crypto/fsl: fsl_hash: Fix dcache issue in caam_hash_finish)
Signed-off-by: Gaurav Jain
---
changes in v4:
- fix powerpc error: left shift count >= width of type [-Wsh
Hello Stefano
> -Original Message-
> From: Stefano Babic
> Sent: Tuesday, July 26, 2022 2:55 PM
> To: Gaurav Jain ; Stefano Babic ;
> Fabio Estevam
> Cc: U-Boot-Denx ; Peng Fan ; dl-
> uboot-imx ; Horia Geanta ;
> Varun Sethi ; Ye Li
> Subject: Re: [EXT
Hello Tim
> -Original Message-
> From: Tim Harvey
> Sent: Friday, September 24, 2021 4:10 AM
> To: Gaurav Jain
> Cc: u-boot ; Stefano Babic ; Fabio
> Estevam ; Peng Fan ; Simon Glass
> ; Priyanka Jain ; Ye Li
> ; Horia Geanta ; Ji Luo
> ; Franck Lenormand ;
Hi Tim
> -Original Message-
> From: Tim Harvey
> Sent: Friday, September 24, 2021 4:32 AM
> To: Gaurav Jain ; Peng Fan
> Cc: u-boot ; Stefano Babic ; Fabio
> Estevam ; Simon Glass ; Priyanka
> Jain ; Ye Li ; Horia Geanta
> ; Ji Luo ; Franck Lenormand
> ;
Gaurav Jain (14):
crypto/fsl: Add support for CAAM Job ring driver model
crypto/fsl: Add CAAM support for bkek, random number generation
i.MX8M: crypto: updated device tree for supporting DM in SPL
crypto/fsl: i.MX8M: Enable Job ring driver model in SPL and U-Boot.
i.MX6: Enable Job ring
added device tree support for job ring driver.
sec is initialized based on job ring information processed
from device tree.
Signed-off-by: Gaurav Jain
Reviewed-by: Ye Li
---
cmd/Kconfig | 1 +
drivers/crypto/fsl/Kconfig | 7 +
drivers/crypto/fsl/Makefile | 3 +-
drivers
added api and descriptor for blob key encryption key(bkek) generation.
added api for random number generation.
Signed-off-by: Gaurav Jain
Signed-off-by: Ji Luo
Reviewed-by: Ye Li
---
drivers/crypto/fsl/desc.h | 5 +++
drivers/crypto/fsl/fsl_blob.c | 82
disabled use of JR0 in SPL and uboot, as JR0 is reserved
for secure boot.
Signed-off-by: Gaurav Jain
Reviewed-by: Ye Li
---
arch/arm/dts/imx8mm-evk-u-boot.dtsi | 18 +-
arch/arm/dts/imx8mm.dtsi | 1 +
arch/arm/dts/imx8mn-ddr4-evk-u-boot.dtsi | 18
i.MX8MM/MN/MP/MQ - added support for JR driver model.
sec is initialized based on job ring information processed
from device tree.
Signed-off-by: Gaurav Jain
Reviewed-by: Ye Li
---
arch/arm/Kconfig | 2 +-
arch/arm/include/asm/arch-imx8m/imx-regs.h | 1 +
arch/arm
From: Ye Li
Because we don't use SPL_DM on mx6sabresd and mx6sabreauto, so it is
unnecessary to have SPL DTB related configs and SPL_OF_CONTROL enabled.
Signed-off-by: Ye Li
Reviewed-by: Fabio Estevam
Reviewed-by: Gaurav Jain
---
configs/mx6sabreauto_defconfig | 2 --
co
i.MX6,i.MX6SX,i.MX6UL - added support for JR driver model.
removed sec_init() call, sec is initialized based on
job ring information processed from device tree.
Signed-off-by: Gaurav Jain
Reviewed-by: Ye Li
---
arch/arm/mach-imx/mx6/Kconfig | 20
arch/arm/mach-imx/mx6
i.MX7D - added support for JR driver model.
removed sec_init() call, sec is initialized based on
job ring information processed from device tree.
Signed-off-by: Gaurav Jain
Reviewed-by: Ye Li
---
arch/arm/Kconfig | 2 +-
arch/arm/mach-imx/mx7/Kconfig | 3 +++
arch/arm/mach-imx
added crypto node in device tree.
sec is initialized based on job ring information processed
from device tree.
Signed-off-by: Gaurav Jain
Reviewed-by: Ye Li
---
arch/arm/Kconfig | 2 +-
arch/arm/dts/imx7ulp.dtsi| 24
arch/arm/mach-imx/mx7ulp
i.MX8(QM/QXP) - updated device tree for supporting DM in SPL.
disabled use of JR1 in SPL and uboot, as JR1 is reserved
for SECO FW.
Signed-off-by: Gaurav Jain
Reviewed-by: Ye Li
---
arch/arm/dts/fsl-imx8dx.dtsi | 61 +++-
arch/arm/dts/fsl-imx8qm-mek-u-boot.dtsi
i.MX8(QM/QXP) - added support for JR driver model.
sec is initialized based on job ring information processed
from device tree.
Signed-off-by: Gaurav Jain
Signed-off-by: Horia Geantă
Reviewed-by: Ye Li
---
arch/arm/Kconfig | 3 +++
arch/arm/include/asm/arch-imx8/imx
From: Ye Li
fix hwrng performance issue in kernel.
Signed-off-by: Ye Li
Acked-by: Gaurav Jain >
---
drivers/crypto/fsl/jr.c | 109 ++--
include/fsl_sec.h | 1 +
2 files changed, 94 insertions(+), 16 deletions(-)
diff --git a/drivers/crypto/fsl/j
LS(1021/1012/1028/1043/1046/1088/2088), LX2160 - updated device tree
Signed-off-by: Gaurav Jain
Reviewed-by: Priyanka Jain
---
arch/arm/dts/fsl-ls1012a.dtsi | 46 ++-
arch/arm/dts/fsl-ls1028a.dtsi | 41 ++-
arch/arm/dts/fsl
LS(1021/1012/1028/1043/1046/1088/2088), LX2160, LX2162
platforms are enabled with JR driver model.
removed sec_init() call from board files.
removed CONFIG_FSL_CAAM from defconfig files.
sec is initialized based on job ring information processed
from device tree.
Signed-off-by: Gaurav Jain
device tree imported from linux kernel.
c500bee1c5b2 (tag: v5.14-rc4) Linux 5.14-rc4
Signed-off-by: Gaurav Jain
Reviewed-by: Priyanka Jain
---
arch/powerpc/dts/p2041si-post.dtsi | 1 +
arch/powerpc/dts/p3041si-post.dtsi | 1 +
arch/powerpc/dts/p4080si-post.dtsi | 1 +
arch/powerpc/dts
removed sec_init() call and CONFIG_FSL_CAAM from defconfig.
sec is initialized based on job ring information processed
from device tree.
Signed-off-by: Gaurav Jain
Reviewed-by: Priyanka Jain
---
arch/powerpc/cpu/mpc85xx/Kconfig | 44 +++
arch/powerpc/cpu/mpc85xx
Signed-off-by: Gaurav Jain
---
MAINTAINERS | 7 +++
1 file changed, 7 insertions(+)
diff --git a/MAINTAINERS b/MAINTAINERS
index 40a0e7ac72..e2f601d7cc 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -1258,3 +1258,10 @@ T: git https://source.denx.de/u-boot/u-boot.git
F: configs
Hi Simon
> -Original Message-
> From: Simon Glass
> Sent: Thursday, October 14, 2021 8:40 PM
> To: Gaurav Jain
> Cc: U-Boot Mailing List ; Stefano Babic
> ; Fabio Estevam ; Peng Fan
> ; Priyanka Jain ; Ye Li
> ; Horia Geanta ; Ji Luo
> ; Franck Lenormand ;
Hi Michael
> -Original Message-
> From: Vladimir Oltean
> Sent: Thursday, October 21, 2021 5:30 PM
> To: Tom Rini ; Priyanka Jain
> Cc: Michael Walle ; Gaurav Jain ;
> Shengzhou Liu ; Varun Sethi ;
> Adrian Alonso ; Alison Wang
> ; Andy Tang ;
> feste...@
...@walle.cc/
Gaurav Jain (14):
crypto/fsl: Add support for CAAM Job ring driver model
crypto/fsl: Add CAAM support for bkek, random number generation
i.MX8M: crypto: updated device tree for supporting DM in SPL
crypto/fsl: i.MX8M: Enable Job ring driver model in SPL and U-Boot.
i.MX6: Enable
added device tree support for job ring driver.
sec is initialized based on job ring information processed
from device tree.
Signed-off-by: Gaurav Jain
Reviewed-by: Ye Li
---
cmd/Kconfig | 1 +
drivers/crypto/fsl/Kconfig | 7 +
drivers/crypto/fsl/Makefile | 4 +-
drivers
added api and descriptor for blob key encryption key(bkek) generation.
added api for random number generation.
Signed-off-by: Gaurav Jain
Signed-off-by: Ji Luo
Reviewed-by: Ye Li
---
drivers/crypto/fsl/desc.h | 5 +++
drivers/crypto/fsl/fsl_blob.c | 82
disabled use of JR0 in SPL and uboot, as JR0 is reserved
for secure boot.
Signed-off-by: Gaurav Jain
Reviewed-by: Ye Li
---
arch/arm/dts/imx8mm-evk-u-boot.dtsi | 18 +-
arch/arm/dts/imx8mm.dtsi | 1 +
arch/arm/dts/imx8mn-ddr4-evk-u-boot.dtsi | 18
i.MX8MM/MN/MP/MQ - added support for JR driver model.
sec is initialized based on job ring information processed
from device tree.
Signed-off-by: Gaurav Jain
Reviewed-by: Ye Li
---
arch/arm/Kconfig | 2 +-
arch/arm/include/asm/arch-imx8m/imx-regs.h | 1 +
arch/arm
From: Ye Li
Because we don't use SPL_DM on mx6sabresd and mx6sabreauto, so it is
unnecessary to have SPL DTB related configs and SPL_OF_CONTROL enabled.
Signed-off-by: Ye Li
Reviewed-by: Fabio Estevam
Reviewed-by: Gaurav Jain
---
configs/mx6sabreauto_defconfig | 2 --
co
i.MX6,i.MX6SX,i.MX6UL - added support for JR driver model.
removed sec_init() call, sec is initialized based on
job ring information processed from device tree.
Signed-off-by: Gaurav Jain
Reviewed-by: Ye Li
---
arch/arm/mach-imx/mx6/Kconfig | 20
arch/arm/mach-imx/mx6
i.MX7D - added support for JR driver model.
removed sec_init() call, sec is initialized based on
job ring information processed from device tree.
Signed-off-by: Gaurav Jain
Reviewed-by: Ye Li
---
arch/arm/Kconfig | 2 +-
arch/arm/mach-imx/mx7/Kconfig | 3 +++
arch/arm/mach-imx
added crypto node in device tree.
sec is initialized based on job ring information processed
from device tree.
Signed-off-by: Gaurav Jain
Reviewed-by: Ye Li
---
arch/arm/Kconfig | 2 +-
arch/arm/dts/imx7ulp.dtsi| 24
arch/arm/mach-imx/mx7ulp
i.MX8(QM/QXP) - added support for JR driver model.
sec is initialized based on job ring information processed
from device tree.
Signed-off-by: Gaurav Jain
Signed-off-by: Horia Geantă
Reviewed-by: Ye Li
---
arch/arm/Kconfig | 3 +++
arch/arm/include/asm/arch-imx8/imx
1 - 100 of 281 matches
Mail list logo