[PATCH] caam: Fix CAAM error on startup

Fabio Estevam festevam at gmail.com
Thu May 22 15:08:11 CEST 2025


On Wed, May 21, 2025 at 8:09 AM Fabio Estevam <festevam at gmail.com> wrote:
>
> From: Olaf Baehring <olaf.baehring at draeger.com>
>
> 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: Olaf Baehring <olaf.baehring at draeger.com>
> Signed-off-by: Fabio Estevam <festevam at gmail.com>

Applied, thanks.


More information about the U-Boot mailing list