]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: PPC: Book3S HV: Hold kvm->mmu_lock across updating nested pte rc bits
authorSuraj Jitindar Singh <sjitindarsingh@gmail.com>
Fri, 21 Dec 2018 03:28:39 +0000 (14:28 +1100)
committerPaul Mackerras <paulus@ozlabs.org>
Fri, 21 Dec 2018 03:37:43 +0000 (14:37 +1100)
commitd9d87e0fce5dd43dac83f293d1da7b2a9bca9b9a
treef29d6717e7c1d666f362dd1ca0b3aa5e5575e44c
parent89037a334d9deacf49bb3617935f1dbba8442863
KVM: PPC: Book3S HV: Hold kvm->mmu_lock across updating nested pte rc bits

We already hold the kvm->mmu_lock spin lock across updating the rc bits
in the pte for the L1 guest. Continue to hold the lock across updating
the rc bits in the pte for the nested guest as well to prevent
invalidations from occurring.

Signed-off-by: Suraj Jitindar Singh <sjitindarsingh@gmail.com>
Signed-off-by: Paul Mackerras <paulus@ozlabs.org>
arch/powerpc/kvm/book3s_hv_nested.c