arm:, imx:, caam: [PATCH] bugfix CAAM error on startup
Fabio Estevam
festevam at gmail.com
Mon May 12 23:41:20 CEST 2025
Hi Olaf,
Please adjust the subject line to:
Subject: [PATCH] caam: Fix error on startup
On Fri, May 9, 2025 at 9:41 AM Baehring, Olaf <Olaf.Baehring at draeger.com> wrote:
>
> Internal
Please remove this line.
> In rare cases U-Boot returns an error message when intantiating the RNG
> of the CAAM device:
> “SEC0: RNG4 SH0 instantiation failed with error 0xffffffff”
> This means, that even when the CAAM device reports a finished
> descriptor, none is found in the output ring.
> This might be caused by a missing cache invalidation before
> reading the memory of the output ring
> This patch moves the cache invalidation of the output ring from start of
> the job to immediately after the notification from hardware where the
> output ring will be read.
Add your Signed-off-by tag.
I tried applying your patch, but it failed:
$ git am --3way
~/Downloads/arm-imx-caam-PATCH-bugfix-CAAM-error-on-startup.patch
Applying: arm:, imx:, caam: [PATCH] bugfix CAAM error on startup
Using index info to reconstruct a base tree...
error: patch failed: drivers/crypto/fsl/jr.c:217
error: drivers/crypto/fsl/jr.c: patch does not apply
error: patch failed: drivers/crypto/fsl/jr.h:83
error: drivers/crypto/fsl/jr.h: patch does not apply
error: Did you hand edit your patch?
It does not apply to blobs recorded in its index.
Patch failed at 0001 arm:, imx:, caam: [PATCH] bugfix CAAM error on startup
hint: Use 'git am --show-current-patch=diff' to see the failed patch
When you have resolved this problem, run "git am --continue".
If you prefer to skip this patch, run "git am --skip" instead.
To restore the original branch and stop patching, run "git am --abort".
It seems the patch is corrupted.
./scripts/checkpatch.pl shows several issues as well.
Please fix these problems and submit a v2 using 'git send-mail'.
Thanks
More information about the U-Boot
mailing list