]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: arm64: Remove kern_hyp_va() use in VHE switch function
authorChristoffer Dall <christoffer.dall@linaro.org>
Thu, 22 Dec 2016 23:20:38 +0000 (00:20 +0100)
committerMarc Zyngier <marc.zyngier@arm.com>
Mon, 19 Mar 2018 10:53:13 +0000 (10:53 +0000)
commit4c26b6766b3552bae06bdbb6ca09cde17b7a1bb1
treec27e74690b5c7a8e7ec19df8c663e129fbbd7d64
parentbd9c3330dd36d226e5a98220ac68ea0f1e436b05
KVM: arm64: Remove kern_hyp_va() use in VHE switch function

VHE kernels run completely in EL2 and therefore don't have a notion of
kernel and hyp addresses, they are all just kernel addresses.  Therefore
don't call kern_hyp_va() in the VHE switch function.

Reviewed-by: Andrew Jones <drjones@redhat.com>
Reviewed-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
arch/arm64/kvm/hyp/switch.c