aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm64/kernel/vmlinux.lds.S
diff options
context:
space:
mode:
authorJames Morse <james.morse@arm.com>2021-11-18 13:16:23 +0000
committerJames Morse <james.morse@arm.com>2022-02-15 17:40:16 +0000
commitc47e4d04ba0f1ea17353d85d45f611277507e07a (patch)
tree4d27a89b64dc825a3b6e359487ee437c32a60c77 /arch/arm64/kernel/vmlinux.lds.S
parentarm64: entry: Move trampoline macros out of ifdef'd section (diff)
downloadlinux-dev-c47e4d04ba0f1ea17353d85d45f611277507e07a.tar.xz
linux-dev-c47e4d04ba0f1ea17353d85d45f611277507e07a.zip
arm64: entry: Make the kpti trampoline's kpti sequence optional
Spectre-BHB needs to add sequences to the vectors. Having one global set of vectors is a problem for big/little systems where the sequence is costly on cpus that are not vulnerable. Making the vectors per-cpu in the style of KVM's bh_harden_hyp_vecs requires the vectors to be generated by macros. Make the kpti re-mapping of the kernel optional, so the macros can be used without kpti. Reviewed-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk> Reviewed-by: Catalin Marinas <catalin.marinas@arm.com> Signed-off-by: James Morse <james.morse@arm.com>
Diffstat (limited to 'arch/arm64/kernel/vmlinux.lds.S')
0 files changed, 0 insertions, 0 deletions