Re: [PATCH] crypto: fsl_hash: Remove unnecessary alignment check in caam_hash()

2022-06-17 Thread Tom Rini
On Fri, Apr 29, 2022 at 03:34:44PM +0200, Stefan Roese wrote: > While working on an LX2160 based board and updating to latest mainline > I noticed problems using the HW accelerated hash functions on this > platform, when trying to boot a FIT Kernel image. Here the resulting > error message: > >

Re: [PATCH] crypto: fsl_hash: Remove unnecessary alignment check in, caam_hash()

2022-06-10 Thread Michal Vokáč
On 10. 06. 22 13:47, Fabio Estevam wrote: [EXTERNAL EMAIL] Hi Michal, On Fri, Jun 10, 2022 at 7:02 AM Michal Vokáč wrote: Hi Fabio, I had the very same problem/error on i.MX6 and figured out that CONFIG_ARCH_MISC_INIT=y must be enabled otherwise the caam_jr driver is not initialized. Yes,

Re: [PATCH] crypto: fsl_hash: Remove unnecessary alignment check in, caam_hash()

2022-06-10 Thread Michal Vokáč
On Fri, Apr 29, 2022 at 10:35 AM Stefan Roese wrote: While working on an LX2160 based board and updating to latest mainline I noticed problems using the HW accelerated hash functions on this platform, when trying to boot a FIT Kernel image. Here the resulting error message: Using

Re: [PATCH] crypto: fsl_hash: Remove unnecessary alignment check in, caam_hash()

2022-06-10 Thread Fabio Estevam
Hi Michal, On Fri, Jun 10, 2022 at 7:02 AM Michal Vokáč wrote: > Hi Fabio, > I had the very same problem/error on i.MX6 and figured out that > CONFIG_ARCH_MISC_INIT=y must be enabled otherwise the caam_jr driver > is not initialized. Yes, correct. There is a patch from Gaurav to address this:

RE: [PATCH] crypto: fsl_hash: Remove unnecessary alignment check in caam_hash()

2022-06-08 Thread ZHIZHIKIN Andrey
ria Geanta Neag ; > Thomas > Schaefer ; Ye Li ; Peng Fan > > Subject: Re: [PATCH] crypto: fsl_hash: Remove unnecessary alignment check in > caam_hash() > > > Hi Andrey, > > On Wed, Jun 8, 2022 at 4:46 AM ZHIZHIKIN Andrey > wrote: > > > > The problem

Re: [PATCH] crypto: fsl_hash: Remove unnecessary alignment check in caam_hash()

2022-06-08 Thread Fabio Estevam
Hi Andrey, On Wed, Jun 8, 2022 at 4:46 AM ZHIZHIKIN Andrey wrote: > > The problem seems to be related to the TF-A version. > > > > If I use the older imx_5.4.47_2.2.0 TF-A then the sha256 calculation > > via CAAM does not fail. > > I just tried the imx8mp_evk and with CONFIG_IMX_HAB=y the board

RE: [PATCH] crypto: fsl_hash: Remove unnecessary alignment check in caam_hash()

2022-06-08 Thread ZHIZHIKIN Andrey
oria Geanta Neag > ; Thomas Schaefer ; Ye Li > ; Peng Fan > Subject: Re: [PATCH] crypto: fsl_hash: Remove unnecessary alignment check in > caam_hash() > > On Tue, Jun 7, 2022 at 2:27 PM Fabio Estevam wrote: > > > > Hi Heiko, > > > > On Tue, Jun 7

RE: [EXT] Re: [PATCH] crypto: fsl_hash: Remove unnecessary alignment check in caam_hash()

2022-06-08 Thread Gaurav Jain
; Thomas Schäfer ; > Ye Li ; Peng Fan > Subject: RE: [EXT] Re: [PATCH] crypto: fsl_hash: Remove unnecessary alignment > check in caam_hash() > > Caution: EXT Email > > Hello Gaurav, > > > -Original Message- > > From: U-Boot On Behalf Of Gaurav Jain

RE: [EXT] Re: [PATCH] crypto: fsl_hash: Remove unnecessary alignment check in caam_hash()

2022-06-08 Thread ZHIZHIKIN Andrey
ey > geosystems.com>; Horia Geanta ; Thomas Schäfer > ; Ye Li ; Peng Fan > > Subject: RE: [EXT] Re: [PATCH] crypto: fsl_hash: Remove unnecessary alignment > check in caam_hash() > > Hi Fabio > > > -Original Message- > > From: Fabio Estevam > >

RE: [EXT] Re: [PATCH] crypto: fsl_hash: Remove unnecessary alignment check in caam_hash()

2022-06-07 Thread Gaurav Jain
>; Horia Geanta ; Thomas Schäfer > ; Ye Li ; Peng Fan > > Subject: [EXT] Re: [PATCH] crypto: fsl_hash: Remove unnecessary alignment > check in caam_hash() > > Caution: EXT Email > > On Tue, Jun 7, 2022 at 2:27 PM Fabio Estevam wrote: > > > > Hi He

Re: [PATCH] crypto: fsl_hash: Remove unnecessary alignment check in caam_hash()

2022-06-07 Thread Fabio Estevam
On Tue, Jun 7, 2022 at 2:27 PM Fabio Estevam wrote: > > Hi Heiko, > > On Tue, Jun 7, 2022 at 4:48 AM Heiko Thiery wrote: > > >> Thomas Schäfer sees this behavior also on an imx8mn NXP evk board. > >> Thus I added him to this thread. > > Thanks for the feedback. > > I managed to reproduce the

Re: [PATCH] crypto: fsl_hash: Remove unnecessary alignment check in caam_hash()

2022-06-07 Thread Fabio Estevam
Hi Heiko, On Tue, Jun 7, 2022 at 4:48 AM Heiko Thiery wrote: >> Thomas Schäfer sees this behavior also on an imx8mn NXP evk board. >> Thus I added him to this thread. Thanks for the feedback. I managed to reproduce the problem on an imx8mm-evk board. On top of tree U-Boot I added: ---

Re: [PATCH] crypto: fsl_hash: Remove unnecessary alignment check in caam_hash()

2022-06-07 Thread Heiko Thiery
Sorry for the typo in the mailadress. Heiko Thiery schrieb am Di., 7. Juni 2022, 09:44: > Hi Fabio, > > > Am Di., 7. Juni 2022 um 04:41 Uhr schrieb Fabio Estevam < > feste...@gmail.com>: > > > > Hi Stefan, > > > > On Fri, Apr 29, 2022 at 10:35 AM Stefan Roese wrote: > > > > > > While working

Re: [PATCH] crypto: fsl_hash: Remove unnecessary alignment check in caam_hash()

2022-06-07 Thread Heiko Thiery
Hi Fabio, Am Di., 7. Juni 2022 um 04:41 Uhr schrieb Fabio Estevam : > > Hi Stefan, > > On Fri, Apr 29, 2022 at 10:35 AM Stefan Roese wrote: > > > > While working on an LX2160 based board and updating to latest mainline > > I noticed problems using the HW accelerated hash functions on this > >

Re: [PATCH] crypto: fsl_hash: Remove unnecessary alignment check in caam_hash()

2022-06-06 Thread Fabio Estevam
Hi Stefan, On Fri, Apr 29, 2022 at 10:35 AM Stefan Roese wrote: > > While working on an LX2160 based board and updating to latest mainline > I noticed problems using the HW accelerated hash functions on this > platform, when trying to boot a FIT Kernel image. Here the resulting > error message:

Re: [PATCH] crypto: fsl_hash: Remove unnecessary alignment check in caam_hash()

2022-06-06 Thread Tom Rini
On Mon, Jun 06, 2022 at 07:43:52PM +0200, Rasmus Villemoes wrote: > On 29/04/2022 15.34, Stefan Roese wrote: > > While working on an LX2160 based board and updating to latest mainline > > I noticed problems using the HW accelerated hash functions on this > > platform, when trying to boot a FIT

Re: [PATCH] crypto: fsl_hash: Remove unnecessary alignment check in caam_hash()

2022-06-06 Thread Rasmus Villemoes
On 29/04/2022 15.34, Stefan Roese wrote: > While working on an LX2160 based board and updating to latest mainline > I noticed problems using the HW accelerated hash functions on this > platform, when trying to boot a FIT Kernel image. Here the resulting > error message: > >Using

RE: [EXT] [PATCH] crypto: fsl_hash: Remove unnecessary alignment check in caam_hash()

2022-04-29 Thread Gaurav Jain
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

[PATCH] crypto: fsl_hash: Remove unnecessary alignment check in caam_hash()

2022-04-29 Thread Stefan Roese
While working on an LX2160 based board and updating to latest mainline I noticed problems using the HW accelerated hash functions on this platform, when trying to boot a FIT Kernel image. Here the resulting error message: Using 'conf-freescale_lx2160a.dtb' configuration Trying 'kernel-1'