On Thu, Aug 10, 2017 at 09:54:01AM +0100, Suzuki K Poulose wrote: > 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") > Cc: stable@xxxxxxxxxxxxxxx # v4.9- > Reported-by: Alex Graf <agraf@xxxxxxx> > Reviewed-by: Christoffer Dall <cdall@xxxxxxxxxx> > Signed-off-by: Suzuki K Poulose <suzuki.poulose@xxxxxxx> > > --- > > This is a back port of the patch for stable tree for version v4.9 and > earlier. now applied, thanks. greg k-h