arm64: KVM: Use per-CPU vector when BP hardening is enabled
authorMarc Zyngier <marc.zyngier@arm.com>
Wed, 3 Jan 2018 16:38:35 +0000 (16:38 +0000)
committerCatalin Marinas <catalin.marinas@arm.com>
Mon, 8 Jan 2018 18:46:56 +0000 (18:46 +0000)
commit6840bdd73d07216ab4bc46f5a8768c37ea519038
treec2322ae1567cb33991bd5c987604704bc208bd31
parent0f15adbb2861ce6f75ccfc5a92b19eae0ef327d0
arm64: KVM: Use per-CPU vector when BP hardening is enabled

Now that we have per-CPU vectors, let's plug then in the KVM/arm64 code.

Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm/include/asm/kvm_mmu.h
arch/arm64/include/asm/kvm_mmu.h
arch/arm64/kvm/hyp/switch.c
virt/kvm/arm/arm.c