[PATCH v4 10/19] efi/libstub: arm: Simplify handle_kernel_image()
Jason Gunthorpe
jgg at nvidia.com
Fri Nov 20 09:29:22 PST 2026
On Wed, 18 Nov 2026 19:21:16 +0100, Ard Biesheuvel <ardb+git at google.com> wrote:
> Now that ARM moved to efi_image_info for obtaining the base of the
> decompressed kernel image in efi_enter_kernel(), it no longer needs to
> distinguish between the image address (which might point into an
> unrelated allocation below the decompressed image) and the reservation
> address (which is what can be freed upon an error).
>
> So use image_addr/image_size rather than reserve_addr/reserve_size in
> handle_kernel_image() to return the base and size of the allocated
> region to the caller. This will allow those parameters to be dropped
> entirely from the prototype in a subsequent patch.
>
> [...]
Reviewed-by: Jason Gunthorpe <jgg at nvidia.com>
--
Jason
More information about the linux-riscv
mailing list