KVM: arm64: Don't deactivate VM on VHE systems
authorChristoffer Dall <christoffer.dall@linaro.org>
Tue, 10 Oct 2017 11:25:21 +0000 (13:25 +0200)
committerMarc Zyngier <marc.zyngier@arm.com>
Mon, 19 Mar 2018 10:53:13 +0000 (10:53 +0000)
commit34f8cdf1dfc218ba36b95bcc4e0d85ea42bba9fc
tree9921854c41aea634736ef43f07d86ec1acb56ac2
parent86d05682b4f2eb88b796043c4f3b96e321f6a431
KVM: arm64: Don't deactivate VM on VHE systems

There is no need to reset the VTTBR to zero when exiting the guest on
VHE systems.  VHE systems don't use stage 2 translations for the EL2&0
translation regime used by the host.

Reviewed-by: Andrew Jones <drjones@redhat.com>
Acked-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