summaryrefslogtreecommitdiff
path: root/scripts/gcc-plugins/cyc_complexity_plugin.c
diff options
context:
space:
mode:
authorSuzuki K Poulose <Suzuki.Poulose@arm.com>2017-07-05 09:57:00 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-08-12 19:31:23 -0700
commit3f0075cdbdd8ec09cd04034c87d1d1fb9069571e (patch)
tree7ad88390801d0eab154e97b3c33533cd1111ff8a /scripts/gcc-plugins/cyc_complexity_plugin.c
parent6309eb77d823393ff427312bfd53e2b7f1bdcab2 (diff)
KVM: arm/arm64: Handle hva aging while destroying the vm
commit 7e5a672289c9754d07e1c3b33649786d3d70f5e4 upstream. 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. 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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions