kvm: arm/arm64: Force reading uncached stage2 PGD
authorSuzuki K Poulose <suzuki.poulose@arm.com>
Tue, 16 May 2017 09:34:54 +0000 (10:34 +0100)
committerChristoffer Dall <cdall@linaro.org>
Tue, 16 May 2017 09:54:00 +0000 (11:54 +0200)
commit2952a6070e07ebdd5896f1f5b861acad677caded
tree086d1ec9783ef2b11a15588dc07a15b006c33798
parent9b619a8f08da9f61f166edbbe30ad05c359ec19e
kvm: arm/arm64: Force reading uncached stage2 PGD

Make sure we don't use a cached value of the KVM stage2 PGD while
resetting the PGD.

Cc: Marc Zyngier <marc.zyngier@arm.com>
Cc: stable@vger.kernel.org
Signed-off-by: Suzuki K Poulose <suzuki.poulose@arm.com>
Reviewed-by: Christoffer Dall <cdall@linaro.org>
Signed-off-by: Christoffer Dall <cdall@linaro.org>
virt/kvm/arm/mmu.c