summaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm/efi.h
diff options
context:
space:
mode:
authorArd Biesheuvel <ardb@kernel.org>2023-02-01 09:50:07 +0100
committerArd Biesheuvel <ardb@kernel.org>2023-02-09 17:39:16 +0100
commit1d959312e2f23c8ee6ed9432a6fa4416b267477b (patch)
tree0793812274d2871abf8f544b09e39d321391995a /arch/x86/include/asm/efi.h
parentefi: Discover BTI support in runtime services regions (diff)
downloadlinux-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