[PATCH v3 05/15] efi/libstub: Avoid _end section marker in library code

Jason Gunthorpe jgg at nvidia.com
Mon Nov 16 10:52:15 PST 2026


On Mon, 16 Nov 2026 15:26:24 +0100, Ard Biesheuvel <ardb+git at google.com> wrote:
> The _end marker could point to the end of the kernel image being loaded,
> or to the _end of the zboot decompressor image, and so it should only be
> used in code that is obviously only intended for the former case.
> 
> So instead, use kernel_memsize and the image address to obtain the same
> quantity.
> 
> [...]

Reviewed-by: Jason Gunthorpe <jgg at nvidia.com>

-- 
Jason



More information about the linux-riscv mailing list