The patch titled KVM: Fix mmu reset locking when setting cr0 has been added to the -mm tree. Its filename is kvm-virtualization-infrastructure-fix-mmu-reset-locking-when-setting-cr0.patch See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find out what to do about this ------------------------------------------------------ Subject: KVM: Fix mmu reset locking when setting cr0 From: Yaniv Kamay <yaniv@xxxxxxxxxxxx> An mmu reset needs to be called with the kvm lock held. Signed-off-by: Yaniv Kamay <yaniv@xxxxxxxxxxxx> Signed-off-by: Avi Kivity <avi@xxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxx> --- drivers/kvm/kvm_main.c | 2 ++ 1 files changed, 2 insertions(+) diff -puN drivers/kvm/kvm_main.c~kvm-virtualization-infrastructure-fix-mmu-reset-locking-when-setting-cr0 drivers/kvm/kvm_main.c --- a/drivers/kvm/kvm_main.c~kvm-virtualization-infrastructure-fix-mmu-reset-locking-when-setting-cr0 +++ a/drivers/kvm/kvm_main.c @@ -939,7 +939,9 @@ static void set_cr0(struct kvm_vcpu *vcp } __set_cr0(vcpu, cr0); + spin_lock(&vcpu->kvm->lock); kvm_mmu_reset_context(vcpu); + spin_unlock(&vcpu->kvm->lock); return; } _ Patches currently in -mm which might be from yaniv@xxxxxxxxxxxx are kvm-userspace-interface.patch kvm-intel-virtual-mode-extensions-definitions.patch kvm-kvm-data-structures.patch kvm-random-accessors-and-constants.patch kvm-virtualization-infrastructure.patch kvm-virtualization-infrastructure-fix-segment-state-changes-across-processor-mode-switches.patch kvm-virtualization-infrastructure-fix-mmu-reset-locking-when-setting-cr0.patch kvm-memory-slot-management.patch kvm-vcpu-creation-and-maintenance.patch kvm-vcpu-execution-loop.patch kvm-define-exit-handlers.patch kvm-define-exit-handlers-pass-fs-gs-segment-bases-to-x86-emulator.patch kvm-less-common-exit-handlers.patch kvm-less-common-exit-handlers-handle-rdmsrmsr_efer.patch kvm-mmu.patch kvm-x86-emulator.patch - To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html