Re: [PATCH v7 1/3] efi/x86: Fix EFI memory map corruption with kexec

From: Borislav Petkov
Date: Mon Jun 03 2024 - 12:58:39 EST


On Mon, Jun 03, 2024 at 11:48:03AM -0500, Kalra, Ashish wrote:
> Yes, something similar as above, as efi_mem_reserve() is used to reserve
> boot service memory and is not necessary for kexec boot.
>
> So, Dave Young (dyoung@xxxxxxxxxx) had suggested that we skip
> efi_arch_mem_reserve() for kexec by checking the set EFI_MEMORY_RUNTIME
> attribute as below:a

efi_arch_mem_reserve() or efi_mem_reserve() altogether?

Btw, that below got really gibberished by your mail client. Snipped.

--
Regards/Gruss,
Boris.

https://people.kernel.org/tglx/notes-about-netiquette