arm:, imx:, caam: [PATCH] bugfix CAAM error on startup

Tom Rini trini at konsulko.com
Fri May 9 17:01:26 CEST 2025


On Fri, May 09, 2025 at 09:40:44AM +0000, Baehring, Olaf wrote:

> Internal
> 
> 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.
> 
> Signed-off-by: Baehring, Olaf <olaf.baehring at draeger.com>
> ---
> 
>  drivers/crypto/fsl/jr.c | 30 +++++++++++++++++-------------
>  drivers/crypto/fsl/jr.h |  4 ----
>  2 files changed, 17 insertions(+), 17 deletions(-)

You're starting the email by saying "Internal" and then there's:
[snip]
> ---
> This communication contains confidential information. If you are not the intended recipient please return this email to the sender and delete it from your records.
> 
> Diese Nachricht enthaelt vertrauliche Informationen. Sollten Sie nicht der beabsichtigte Empfaenger dieser E-mail sein, senden Sie bitte diese an den Absender zurueck und loeschen Sie die E-mail aus Ihrem System.

So please confirm if you are intending to publish this fix to the open
source community, or not. Thanks.

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20250509/812340b0/attachment.sig>


More information about the U-Boot mailing list