[RFC 2/2] efi/memattr: add efi_mem_attr_table as a reserved region in 820_table_firmware
Dave Young
dyoung at redhat.com
Thu Jan 9 18:50:30 PST 2025
Hi Usama,
On Thu, 9 Jan 2025 at 06:00, Usama Arif <usamaarif642 at gmail.com> wrote:
>
> When this area is not reserved, it comes up as usable in
> /sys/firmware/memmap. This means that kexec, which uses that memmap
> to find usable memory regions, can select the region where
> efi_mem_attr_table is and overwrite it and relocate_kernel.
Is the attr table BOOT SERVICE DATA? If so, does efi_mem_reserve()
work for you?
Just refer to esrt.c.
Thanks
Dave
More information about the kexec
mailing list