+CC Ard

On Sat, 8 Mar 2025 at 19:36, Ben Schneider <[email protected]> wrote:
>
> On Wednesday, March 5th, 2025 at 12:20 AM, Heinrich Schuchardt 
> <[email protected]> wrote:
> >
> > On 3/5/25 09:13, Sughosh Ganu wrote:
> > >
> > > Can you check what is the address being asked for in the
> > > lmb_alloc_addr() function.
> >
> > maybe also add a call to lmb_dump_all_force()
>
> Thank you both! This was exactly what I needed. This appears to be
> a kernel bug in randomalloc.c which always breaks out of a loop
> after only one iteration[1] which is unlikely to be the intention.
>
> Ben
>
> [1] 
> https://github.com/torvalds/linux/blob/master/drivers/firmware/efi/libstub/randomalloc.c#L133

FWIW we discussed this in the kernel mailing list as well [0]. Ben can
you apply [1] and see if it fixes your problem?
[0] 
https://lore.kernel.org/linux-efi/cac_iwj+9dnswd7qcc7v8uxsaoabtzx7qtya7yo8py5peuhd...@mail.gmail.com/T/#t
[1] https://patchwork.ozlabs.org/project/uboot/list/?series=446790

Cheers
/Ilias

Reply via email to