Re: [PATCH v4] x86/efi: Implement support for embedding SBAT data for x86
From: Ard Biesheuvel
Date: Sat Jun 21 2025 - 04:23:35 EST
On Thu, 19 Jun 2025 at 17:18, Vitaly Kuznetsov <vkuznets@xxxxxxxxxx> wrote:
>
> Similar to zboot architectures, implement support for embedding SBAT data
> for x86. Put '.sbat' section in between '.data' and '.text' as the former
> also covers '.bss' and '.pgtable' and thus must be the last one in the
> file.
>
> Signed-off-by: Vitaly Kuznetsov <vkuznets@xxxxxxxxxx>
> ---
> Changes since v3:
> - Update optional PE header so .sbat is accounted in
> 'SizeOfInitializedData' and not in 'SizeOfCode'.
As discussed in the other thread [0], let's not fiddle with these
fields - they aren't actually used anywhere.
So, Boris, Ingo, Dave, mind applying the v3 [1] of this patch? It
already has my R-b
Thanks,
[0] https://lore.kernel.org/linux-efi/871preptml.fsf@xxxxxxxxxx/T/#t
[1] https://lore.kernel.org/linux-efi/877c17pxsz.fsf@xxxxxxxxxx/T/#t