[PATCH 1/2] efi: payload: image: exit if kernel image returned

Sascha Hauer s.hauer at pengutronix.de
Tue Apr 14 23:29:57 PDT 2026


On Tue, 14 Apr 2026 16:26:29 +0200, Ahmad Fatoum wrote:
> EFI applications can exit and return to the EFI application that started
> them and barebox can handle that, except for the case that it was a
> EFI-stubbed kernel and barebox has already called shutdown_barebox().
> 
> In that case, the safest way is to just propagate the exit code instead
> of attempting to execute code as if nothing happened.
> 
> [...]

Applied, thanks!

[1/2] efi: payload: image: exit if kernel image returned
      https://git.pengutronix.de/cgit/barebox/commit/?id=7ffcd41e49f2 (link may not be stable)
[2/2] efi: payload: bootm: fix potential double-unload for image
      https://git.pengutronix.de/cgit/barebox/commit/?id=a8e1ff641524 (link may not be stable)

Best regards,
-- 
Sascha Hauer <s.hauer at pengutronix.de>




More information about the barebox mailing list