> Hi Anthony, > > On Mon, Jul 14, 2025 at 10:0 AM Anthony Pighin (Nokia) > <anthony.pig...@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.