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

From: Kalra, Ashish
Date: Mon Jun 03 2024 - 13:09:03 EST


On 6/3/2024 11:57 AM, Borislav Petkov wrote:

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?

efi_arch_mem_reserve().

Thanks, Ashish


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