Re: [PATCH master] efi: loader: require at least 128 KiB of stack space

Sascha Hauer <[email protected]> Mon, 29 Jun 2026 09:31:42 +0200
Newsgroups org.infradead.lists.barebox
Message-ID <[email protected]>
On Sat, 27 Jun 2026 23:25:33 +0200, Ahmad Fatoum wrote:
> rEFInd overflows the default 32K barebox stack when it is loaded as
> a second EFI payload after GRUB from the NixOS arm64 ISO.
> 
> UEFI requires at least 128K of stack space for calls into EFI
> applications. Have STACK_SIZE default to 128 KiB and enforce that it
> doesn't get smaller than that whenever EFI_LOADER is enabled.
> 
> [...]

Applied, thanks!

[1/1] efi: loader: require at least 128 KiB of stack space
      https://git.pengutronix.de/cgit/barebox/commit/?id=dcd77b9dca3f (link may not be stable)

Best regards,
-- 
Sascha Hauer <[email protected]>