linux/arch/arm64/kernel
Ard Biesheuvel 1d959312e2 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>
2023-02-09 17:39:16 +01:00
..
pi arm64: unwind: add asynchronous unwind tables to kernel and modules 2022-11-09 18:06:35 +00:00
probes Merge branch 'for-next/kprobes' into for-next/core 2022-12-06 11:20:21 +00:00
vdso kbuild: upgrade the orphan section warning to an error if CONFIG_WERROR is set 2022-11-01 10:04:52 -07:00
vdso32 kbuild: upgrade the orphan section warning to an error if CONFIG_WERROR is set 2022-11-01 10:04:52 -07:00
.gitignore
acpi_numa.c
acpi_parking_protocol.c treewide: Drop function_nocfi 2022-09-26 10:13:14 -07:00
acpi.c arm64: Add architecture specific ACPI FFH Opregion callbacks 2022-11-14 19:09:07 +01:00
alternative.c arm64: alternatives: add __init/__initconst to some functions/variables 2022-12-05 13:47:06 +00:00
armv8_deprecated.c arm64: armv8_deprecated: fix unused-function error 2022-11-25 12:16:22 +00:00
asm-offsets.c ftrace: arm64: move from REGS to ARGS 2022-11-18 13:56:41 +00:00
cacheinfo.c
compat_alignment.c
cpu_errata.c Revert "arm64: errata: Workaround possible Cortex-A715 [ESR|FAR]_ELx corruption" 2022-12-15 17:59:12 +00:00
cpu_ops.c
cpu-reset.S arm64: Add types to indirect called assembly functions 2022-09-26 10:13:13 -07:00
cpufeature.c ARM64: 2022-12-15 11:12:21 -08:00
cpuidle.c
cpuinfo.c arm64/hwcap: Add support for SVE 2.1 2022-11-09 17:54:53 +00:00
crash_core.c
crash_dump.c
debug-monitors.c arm64/sysreg: Add _EL1 into ID_AA64DFR0_EL1 definition names 2022-09-16 12:38:57 +01:00
efi-header.S
efi-rt-wrapper.S arm64: efi: Recover from synchronous exceptions occurring in firmware 2022-12-08 18:33:34 +01:00
efi.c efi: arm64: Wire up BTI annotation in memory attributes table 2023-02-09 17:39:16 +01:00
elfcore.c arm64: mte: Fix/clarify the PG_mte_tagged semantics 2022-11-29 09:26:07 +00:00
entry-common.c Merge branch 'for-next/undef-traps' into for-next/core 2022-12-06 11:34:25 +00:00
entry-fpsimd.S
entry-ftrace.S arm64 updates for 6.2 2022-12-12 09:50:05 -08:00
entry.S arm64: Enable data independent timing (DIT) in the kernel 2022-11-08 14:55:10 +00:00
fpsimd.c Merge branch 'for-next/sve-state' into for-next/core 2022-12-06 11:27:28 +00:00
ftrace.c ftrace: arm64: remove static ftrace 2022-11-25 12:11:50 +00:00
head.S arm64: implement dynamic shadow call stack for Clang 2022-11-09 18:06:35 +00:00
hibernate-asm.S
hibernate.c arm64: mte: Fix/clarify the PG_mte_tagged semantics 2022-11-29 09:26:07 +00:00
hw_breakpoint.c
hyp-stub.S arm64/sysreg: Standardise naming for ID_AA64MMFR1_EL1 fields 2022-09-09 10:59:03 +01:00
idle.c
idreg-override.c arm64/sysreg: Standardise naming for ID_AA64MMFR1_EL1 fields 2022-09-09 10:59:03 +01:00
image-vars.h ARM64: 2022-12-15 11:12:21 -08:00
image.h
io.c
irq.c Merge branch 'for-next/stacks' into for-next/core 2022-12-06 11:26:40 +00:00
jump_label.c
kaslr.c
kexec_image.c
kgdb.c
kuser32.S
machine_kexec_file.c
machine_kexec.c treewide: Drop function_nocfi 2022-09-26 10:13:14 -07:00
Makefile EFI updates for v6.2: 2022-12-13 14:31:47 -08:00
module-plts.c arm64: module: Make plt_equals_entry() static 2022-09-29 17:47:18 +01:00
module.c Merge branch 'for-next/ftrace' into for-next/core 2022-12-06 11:07:39 +00:00
mte.c arm64: mte: Lock a page for MTE tag initialisation 2022-11-29 09:26:07 +00:00
paravirt.c arm64: paravirt: remove conduit check in has_pv_steal_clock 2022-11-09 18:11:56 +00:00
patch-scs.c arm64: implement dynamic shadow call stack for Clang 2022-11-09 18:06:35 +00:00
patching.c
pci.c
perf_callchain.c
perf_event.c Perf events updates for v6.2: 2022-12-12 15:19:38 -08:00
perf_regs.c perf: arm64: Add SVE vector granule register to user regs 2022-09-22 15:06:02 +01:00
pointer_auth.c
process.c Random number generator updates for Linux 6.2-rc1. 2022-12-12 16:22:22 -08:00
proton-pack.c arm64: factor out EL1 SSBS emulation hook 2022-11-15 13:46:18 +00:00
psci.c treewide: Drop function_nocfi 2022-09-26 10:13:14 -07:00
ptrace.c Non-MM patches for 6.2-rc1. 2022-12-12 17:28:58 -08:00
reloc_test_core.c ARM64: reloc_test: add __init/__exit annotations to module init/exit funcs 2022-09-29 18:04:25 +01:00
reloc_test_syms.S
relocate_kernel.S
return_address.c
sdei.c arm64: implement dynamic shadow call stack for Clang 2022-11-09 18:06:35 +00:00
setup.c arm64: implement dynamic shadow call stack for Clang 2022-11-09 18:06:35 +00:00
signal32.c
signal.c arm64/fpsimd: Track the saved FPSIMD state type separately to TIF_SVE 2022-11-29 15:01:56 +00:00
sigreturn32.S
sleep.S arm64: mm: fix resume for 52-bit enabled builds 2022-09-10 14:46:28 +01:00
smccc-call.S
smp_spin_table.c treewide: Drop function_nocfi 2022-09-26 10:13:14 -07:00
smp.c
stacktrace.c arm64: Prohibit instrumentation on arch_stack_walk() 2022-12-05 14:20:08 +00:00
suspend.c arm64: Enable data independent timing (DIT) in the kernel 2022-11-08 14:55:10 +00:00
sys32.c
sys_compat.c
sys.c
syscall.c arm64/sve: Leave SVE enabled on syscall if we don't context switch 2022-11-29 15:01:56 +00:00
time.c
topology.c RISC-V Patches for the 6.1 Merge Window, Part 1 2022-10-09 13:24:01 -07:00
trace-events-emulation.h
traps.c efi: arm64: Wire up BTI annotation in memory attributes table 2023-02-09 17:39:16 +01:00
vdso32-wrap.S
vdso-wrap.S
vdso.c vdso/timens: Refactor copy-pasted find_timens_vvar_page() helper into one copy 2022-12-01 11:35:40 +01:00
vmlinux.lds.S arm64: unwind: add asynchronous unwind tables to kernel and modules 2022-11-09 18:06:35 +00:00