Re: [PATCH v3 09/17] x86/efi: Intersect ranges_to_free with MEMBLOCK_RSRV_KERN regions
Mike Rapoport <[email protected]>
| Newsgroups | org.kernel.vger.linux-efi,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <[email protected]> |
On Thu, Apr 23, 2026 at 05:20:34PM +0200, Ard Biesheuvel wrote: > From: Ard Biesheuvel <[email protected]> > > efi_mem_reserve() will mark reservations in memblock with the > MEMBLOCK_RSRV_KERN attribute, so take this into account when building > the ranges_to_free array. This removes the need to split EFI memory map > entries and tag them with the EFI_MEMORY_RUNTIME attribute. > > Signed-off-by: Ard Biesheuvel <[email protected]> Acked-by: Mike Rapoport (Microsoft) <[email protected]> > --- > arch/x86/platform/efi/quirks.c | 44 +++++++++++++++----- > 1 file changed, 33 insertions(+), 11 deletions(-) -- Sincerely yours, Mike.