[PATCH v4 00/19] efi: Expose loaded image properties via info struct
Jason Gunthorpe
jgg at nvidia.com
Fri Nov 20 09:29:22 PST 2026
> From: Ard Biesheuvel <ardb at kernel.org>
>
> Clean up the arm64 build script and linker hacks that zboot uses to
> obtain properties of the loaded image (which it cannot access directly
> via a relative reference like the ordinary EFI stub).
>
> Instead, define a generic struct efi_image_info, and expose its offset
> in the loaded image in a similar manner, but without relying on explicit
> linker script exports.
>
> Populate the struct with section markers that all architecture use for
> loading the kernel image at boot, so that all the linker exports can be
> dropped for them.
This one looks fine to me, other than the minor sashiko note. Still
works
Tested-by: Jason Gunthorpe <jgg at nvidia.com>
--
Jason
More information about the linux-riscv
mailing list