diff options
author | Ard Biesheuvel <ardb@kernel.org> | 2023-02-01 09:50:07 +0100 |
---|---|---|
committer | Ard Biesheuvel <ardb@kernel.org> | 2023-02-09 17:39:16 +0100 |
commit | 1d959312e2f23c8ee6ed9432a6fa4416b267477b (patch) | |
tree | 0793812274d2871abf8f544b09e39d321391995a /arch/x86/include/asm/efi.h | |
parent | efi: Discover BTI support in runtime services regions (diff) | |
download | linux-1d959312e2f23c8ee6ed9432a6fa4416b267477b.tar.xz linux-1d959312e2f23c8ee6ed9432a6fa4416b267477b.zip |
efi: arm64: Wire up BTI annotation in memory attributes table
UEFI v2.10 extends the EFI memory attributes table with a flag that
indicates whether or not all RuntimeServicesCode regions were
constructed with BTI landing pads, permitting the OS to map these
regions with BTI restrictions enabled.
So let's take this into account on arm64.
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Reviewed-by: Kees Cook <keescook@chromium.org>
Acked-by: Mark Rutland <mark.rutland@arm.com>
Reviewed-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'arch/x86/include/asm/efi.h')
0 files changed, 0 insertions, 0 deletions