diff options
author | Suzuki K Poulose <Suzuki.Poulose@arm.com> | 2017-07-05 09:57:00 +0100 |
---|---|---|
committer | Sasha Levin <alexander.levin@verizon.com> | 2017-09-10 16:36:09 -0400 |
commit | 2413d13773da5531ea7f75cd882c65951ceca100 (patch) | |
tree | 1da9a068895788a3517bdd59aa8b255cf44f6233 /kernel | |
parent | 55fd9ed0c39a8f3baafb360de292383295ba4faa (diff) |
KVM: arm/arm64: Handle hva aging while destroying the vm
[ Upstream commit 7e5a672289c9754d07e1c3b33649786d3d70f5e4 ]
The mmu_notifier_release() callback of KVM triggers cleaning up
the stage2 page table on kvm-arm. However there could be other
notifier callbacks in parallel with the mmu_notifier_release(),
which could cause the call backs ending up in an empty stage2
page table. Make sure we check it for all the notifier callbacks.
Cc: stable@vger.kernel.org
Fixes: commit 293f29363 ("kvm-arm: Unmap shadow pagetables properly")
Reported-by: Alex Graf <agraf@suse.de>
Reviewed-by: Christoffer Dall <cdall@linaro.org>
Signed-off-by: Suzuki K Poulose <suzuki.poulose@arm.com>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions