[PATCH v2 03/10] efi/libstub: Avoid _end section marker in library code

Jason Gunthorpe jgg at nvidia.com
Fri Nov 13 07:10:21 PST 2026


On Tue, 10 Nov 2026 13:17:35 +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