[PATCH v2 3/3] efi: x86: Wire up IBT annotation in memory attributes table

Peter Zijlstra peterz at infradead.org
Wed Feb 8 09:30:25 PST 2023


On Mon, Feb 06, 2023 at 01:49:38PM +0100, Ard Biesheuvel wrote:
> UEFI v2.10 extends the EFI memory attributes table with a flag that
> indicates whether or not all RuntimeServicesCode regions were
> constructed with ENDBR landing pads, permitting the OS to map these
> regions with IBT restrictions enabled.
> 
> So let's take this into account on x86 as well.
> 
> Suggested-by: Peter Zijlstra <peterz at infradead.org> # ibt_save() changes
> Signed-off-by: Ard Biesheuvel <ardb at kernel.org>

Looks about right; would be lovely if someone with a fresh enough
firmware image could actually test this though..

Acked-by: Peter Zijlstra (Intel) <peterz at infradead.org>



More information about the linux-arm-kernel mailing list