]> git.baikalelectronics.ru Git - kernel.git/commit
arm64: KVM: Move BP hardening vectors into .hyp.text section
authorMarc Zyngier <marc.zyngier@arm.com>
Wed, 14 Mar 2018 13:28:50 +0000 (13:28 +0000)
committerMarc Zyngier <marc.zyngier@arm.com>
Mon, 19 Mar 2018 13:05:49 +0000 (13:05 +0000)
commit54ca79f307b641946612dc6a31d27427e80eb278
treeed16dad493a415c7c040539e15f546e082ce5491
parente7f2665adfb38e3252e555ec117f030678511751
arm64: KVM: Move BP hardening vectors into .hyp.text section

There is no reason why the BP hardening vectors shouldn't be part
of the HYP text at compile time, rather than being mapped at runtime.

Also introduce a new config symbol that controls the compilation
of bpi.S.

Acked-by: Catalin Marinas <catalin.marinas@arm.com>
Reviewed-by: Andrew Jones <drjones@redhat.com>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
arch/arm64/include/asm/kvm_mmu.h
arch/arm64/kernel/Makefile
arch/arm64/kernel/bpi.S
arch/arm64/kvm/Kconfig