u-boot corruption from EFI CAAM RNG request
Anthony Pighin (Nokia)
anthony.pighin at nokia.com
Mon Jul 14 16:19:50 CEST 2025
> Hi Anthony,
>
> On Mon, Jul 14, 2025 at 10:0 AM Anthony Pighin (Nokia)
> <anthony.pighin at nokia.com> wrote:
> >
> > > u-boot is being corrupted following a Linux EFI callback to
> > > get_rng(). One of the many footprints is a corruption of the EFI protocols
> linked list.
>
> Which SoC do you use?
I first noticed this on an LS1046A platform. But it will apply to any platform where the processor
and the SEC block have a different endianness; i.e. where an endian swap of the job ring
descriptor is required.
Note that I only investigated SEC job ring descriptors. Other uses of the job ring might have
similar issues.
>
> > Here is a proposed fix. The caam_rng_probe() init might not even be
> needed, but I left it there just in case.
>
> Please send a formal patch.
More information about the U-Boot
mailing list