]> git.baikalelectronics.ru Git - kernel.git/commit
arm64: KVM: Move vector offsetting from hyp-init.S to kvm_get_hyp_vector
authorMarc Zyngier <marc.zyngier@arm.com>
Mon, 12 Feb 2018 16:50:19 +0000 (16:50 +0000)
committerMarc Zyngier <marc.zyngier@arm.com>
Mon, 19 Mar 2018 13:05:37 +0000 (13:05 +0000)
commit07fc2779aea38f358b4bc52ec1a3161a5770e29d
treedc2731c2e91fcf23933927efee06e1eea8189751
parent71c30548195bd98c3ae7bc9c636e757e08e0b7ae
arm64: KVM: Move vector offsetting from hyp-init.S to kvm_get_hyp_vector

We currently provide the hyp-init code with a kernel VA, and expect
it to turn it into a HYP va by itself. As we're about to provide
the hypervisor with mappings that are not necessarily in the memory
range, let's move the kern_hyp_va macro to kvm_get_hyp_vector.

No functionnal change.

Acked-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
arch/arm64/include/asm/kvm_mmu.h
arch/arm64/kvm/hyp-init.S