[PATCH v3 10/15] efi/libstub: riscv: Use struct efi_image_info to access image properties
Jason Gunthorpe
jgg at nvidia.com
Mon Nov 16 10:52:15 PST 2026
On Mon, 16 Nov 2026 15:26:29 +0100, Ard Biesheuvel <ardb+git at google.com> wrote:
> Instead of exposing individual symbols to the EFI stub explicitly via
> the linker script, use the generic struct efi_image_info, which accesses
> the original symbols via PC-relative references from the stub itself.
>
> This improves code reuse across architectures, and makes it easier to
> add new references in a generic manner.
>
> [...]
Reviewed-by: Jason Gunthorpe <jgg at nvidia.com>
--
Jason
More information about the linux-riscv
mailing list