]> 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)
commit15d4f7687f0c0dc9374245c8ddf261581cece8c6
treeed16dad493a415c7c040539e15f546e082ce5491
parent6b7b43915e397f682dbf6c7801484da24b9de147
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