Re: [PATCH 4/4] x86/efi: Omit kernel reservations of boot services memory from memmap

From: Ard Biesheuvel

Date: Fri Mar 06 2026 - 11:01:01 EST


Please disregard this 4/4 - it is a stale version from my working dir, apologies.

On Fri, 6 Mar 2026, at 16:57, Ard Biesheuvel wrote:
> From: Ard Biesheuvel <ardb@xxxxxxxxxx>
>
> Now that efi_mem_reserve() has been updated to rely on RSRV_KERN
> memblock reservations, it is no longer needed to mark memblock reserved
> regions as EFI_MEMORY_RUNTIME. This means that it is no longer needed to
> split existing entries in the EFI memory map, removing the need to
> re-allocate/copy/remap the entire EFI memory map on every call to
> efi_mem_reserve().
>
> So drop this functionality - it is no longer needed.
>
> Signed-off-by: Ard Biesheuvel <ardb@xxxxxxxxxx>
> ---
> arch/x86/include/asm/efi.h | 4 -
> arch/x86/platform/efi/memmap.c | 138 --------------------
> arch/x86/platform/efi/quirks.c | 54 --------
> 3 files changed, 196 deletions(-)
>