boottime->efi_allocate_pages() returning EFI_NOT_FOUND
Ilias Apalodimas
ilias.apalodimas at linaro.org
Tue Mar 11 08:34:05 CET 2025
+CC Ard
On Sat, 8 Mar 2025 at 19:36, Ben Schneider <ben at bens.haus> wrote:
>
> On Wednesday, March 5th, 2025 at 12:20 AM, Heinrich Schuchardt <xypron.glpk at gmx.de> 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+9DNswD7qCc7V8UxsAOaBTzx7QTYA7Yo8py5pEuHdWDw@mail.gmail.com/T/#t
[1] https://patchwork.ozlabs.org/project/uboot/list/?series=446790
Cheers
/Ilias
More information about the U-Boot
mailing list