[RFC 1/2] efi/memattr: Use desc_size instead of total size to check for corruption

Usama Arif usamaarif642 at gmail.com
Mon Jan 20 02:50:36 PST 2025



On 20/01/2025 10:32, Ard Biesheuvel wrote:
> On Mon, 20 Jan 2025 at 11:27, Usama Arif <usamaarif642 at gmail.com> wrote:
>>
>>
> ...
>> Hi Ard,
>>
>> Just wanted to check how should we proceed forward? Should we try and fix the warning
>> and corruption during kexec as done in this series or not initialize memory attributes
>> table at all in kexec boot? I would prefer fixing the issues as in this series.
>>
> 
> I would prefer kexec boot on x86 to disregard the memory attributes
> table entirely.

Would you like Dave to send something like
https://lore.kernel.org/all/CALu+AoS8tb=HgaybDw5OG4A1QbOXHvuidpu0ynmz-nE1nBqzTA@mail.gmail.com/
on the mailing list (wrapped in ifdef CONFIG_X86_64)

or we could do
https://lore.kernel.org/all/fd63613c-fd26-42de-b5ed-cc734f72eb36@gmail.com/
as well.

Or if there is any other way you prefer, I am happy to implement and test.

Thanks,
Usama



More information about the kexec mailing list