Skip to content

KVM updates for the 2.6.31 merge window (batch 3/3)

Avi Kivity kvm lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest45 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/45KVM: Remove inject_pending_vectors() callbackarch/x86/include/asm/kvm_host.h arch/x86/kvm/svm.c arch/x86/kvm/vmx.c +1 more+1 -70 replies
2/45KVM: Remove kvm_push_irq()arch/x86/kvm/x86.h+0 -70 replies
3/45KVM: sync_lapic_to_cr8() should always sync cr8 to V_TPRarch/x86/kvm/svm.c+1 -40 replies
4/45KVM: Do not report TPR write to userspace if new value bigger or equal to a previous one.arch/x86/kvm/svm.c arch/x86/kvm/vmx.c+16 -70 replies
5/45KVM: Get rid of arch.interrupt_window_open & arch.nmi_window_openarch/x86/include/asm/kvm_host.h arch/x86/kvm/svm.c arch/x86/kvm/vmx.c+12 -310 replies
6/45KVM: SVM: Add NMI injection supportarch/x86/include/asm/kvm_host.h arch/x86/kvm/svm.c arch/x86/kvm/vmx.c +1 more+145 -1090 replies
7/45KVM: Fix userspace IRQ chip migrationarch/x86/kvm/x86.c+6 -60 replies
8/45KVM: Get rid of get_irq() callbackarch/x86/include/asm/kvm_host.h arch/x86/kvm/svm.c arch/x86/kvm/vmx.c +1 more+5 -240 replies
9/45KVM: Wake up waitqueue before calling get_cpu()arch/x86/kvm/x86.c+2 -10 replies
10/45KVM: Replace get_mt_mask_shift with get_mt_maskarch/x86/include/asm/kvm_host.h arch/x86/kvm/mmu.c arch/x86/kvm/svm.c +2 more+24 -250 replies
11/45KVM: Enable snooping control for supported hardwarearch/ia64/include/asm/kvm_host.h arch/x86/include/asm/kvm_host.h arch/x86/kvm/vmx.c +2 more+46 -50 replies
12/45KVM: VMX: Disable VMX when system shutdownvirt/kvm/kvm_main.c+9 -90 replies
13/45KVM: Trivial format fix in setup_routing_entry()virt/kvm/irq_comm.c+1 -10 replies
14/45KVM: fix apic_debug instancesarch/x86/kvm/lapic.c+2 -20 replies
15/45KVM: SVM: Fix cross vendor migration issue in segment segment descriptorarch/x86/kvm/svm.c+9 -00 replies
16/45KVM: SVM: Don't reinject event that caused a task switcharch/x86/kvm/svm.c+21 -20 replies
17/45KVM: Drop request_nmi from statsarch/x86/include/asm/kvm_host.h arch/x86/kvm/x86.c+0 -20 replies
18/45KVM: Fix cpuid feature misreportingarch/x86/kvm/x86.c+5 -20 replies
19/45KVM: Add AMD cpuid bit: cr8_legacy, abm, misaligned sse, sse4, 3dnow prefetcharch/x86/kvm/x86.c+38 -330 replies
20/45x86: Add cpu features MOVBE and POPCNTarch/x86/include/asm/cpufeature.h+2 -00 replies
21/45KVM: Update cpuid 1.ecx reportingarch/x86/kvm/x86.c+7 -10 replies
22/45KVM: use smp_send_reschedule in kvm_vcpu_kickarch/ia64/kernel/irq_ia64.c arch/ia64/kvm/kvm-ia64.c arch/x86/kernel/smp.c +2 more+26 -400 replies
23/45KVM: protect assigned dev workqueue, int handler and irq ackerinclude/linux/kvm_host.h virt/kvm/kvm_main.c+13 -10 replies
24/45KVM: Replace ->drop_interrupt_shadow() by ->set_interrupt_shadow()arch/x86/include/asm/kvm_host.h arch/x86/include/asm/kvm_x86_emulate.h arch/x86/kvm/svm.c +2 more+63 -260 replies
25/45KVM: Deal with interrupt shadow state for emulated instructionsarch/x86/include/asm/kvm_x86_emulate.h arch/x86/kvm/x86.c arch/x86/kvm/x86_emulate.c+28 -10 replies
26/45KVM: MMU: protect kvm_mmu_change_mmu_pages with mmu_lockarch/x86/kvm/mmu.c arch/x86/kvm/x86.c+6 -20 replies
27/45KVM: take mmu_lock when updating a deleted slotvirt/kvm/kvm_main.c+2 -00 replies
28/45KVM: x86: check for cr3 validity in mmu_alloc_rootsarch/x86/kvm/mmu.c arch/x86/kvm/x86.c+24 -40 replies
29/45KVM: Expand on "help" info to specify kvm intel and amd module namesarch/x86/kvm/Kconfig+6 -00 replies
30/45KVM: s390: Fix memory slot versus run - v3arch/s390/kvm/kvm-s390.c+31 -50 replies
31/45KVM: s390: use hrtimer for clock wakeup from idle - v2arch/s390/include/asm/kvm_host.h arch/s390/kvm/interrupt.c arch/s390/kvm/kvm-s390.c +1 more+35 -140 replies
32/45KVM: s390: optimize float int lock: spin_lock_bh --> spin_lockarch/s390/kvm/interrupt.c arch/s390/kvm/kvm-s390.c arch/s390/kvm/priv.c +1 more+22 -220 replies
33/45KVM: s390: Unlink vcpu on destroy - v2arch/s390/kvm/kvm-s390.c+8 -20 replies
34/45KVM: s390: Sanity check on validity interceptarch/s390/kvm/intercept.c+18 -100 replies
35/45KVM: s390: Verify memory in kvm runarch/s390/kvm/kvm-s390.c+6 -00 replies
36/45KVM: Unprotect a page if #PF happens during NMI injection.arch/x86/kvm/svm.c arch/x86/kvm/vmx.c arch/x86/kvm/x86.h+8 -30 replies
37/45KVM: Do not allow interrupt injection from userspace if there is a pending event.arch/x86/kvm/x86.c+3 -20 replies
38/45KVM: Remove irq_pending bitmaparch/x86/include/asm/kvm_host.h arch/x86/kvm/irq.c arch/x86/kvm/x86.c +1 more+13 -430 replies
39/45KVM: skip_emulated_instruction() decode instruction if size is not knownarch/x86/kvm/svm.c+5 -60 replies
40/45KVM: Do not re-execute INTn instruction.arch/x86/include/asm/kvm_host.h arch/x86/kvm/svm.c arch/x86/kvm/vmx.c +2 more+47 -180 replies
41/45KVM: Always request IRQ/NMI window if an interrupt is pendingarch/x86/kvm/x86.c+12 -180 replies
42/45KVM: inject NMI after IRET from a previous NMI, not before.arch/x86/include/asm/kvm_host.h arch/x86/kvm/svm.c+52 -120 replies
43/45KVM: Do not migrate pending software interrupts.arch/x86/kvm/x86.c+1 -10 replies
44/45KVM: Disable CR8 intercept if tpr patching is activearch/x86/kvm/x86.c+6 -50 replies
45/45KVM: Move "exit due to NMI" handling into vmx_complete_interrupts()arch/x86/kvm/vmx.c+10 -110 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 00/45] KVM updates for the 2.6.31 merge window (batch 3/3)

Third batch of the 2.6.31 merge window submission. Please review.

Andre Przywara (1):
KVM: SVM: Fix cross vendor migration issue in segment segment
descriptor

Avi Kivity (4):
KVM: Fix cpuid feature misreporting
KVM: Add AMD cpuid bit: cr8_legacy, abm, misaligned sse, sse4, 3dnow
prefetch
x86: Add cpu features MOVBE and POPCNT
KVM: Update cpuid 1.ecx reporting

Carsten Otte (4):
KVM: s390: Fix memory slot versus run - v3
KVM: s390: Unlink vcpu on destroy - v2
KVM: s390: Sanity check on validity intercept
KVM: s390: Verify memory in kvm run

Chris Wright (1):
KVM: Trivial format fix in setup_routing_entry()

Christian Borntraeger (2):
KVM: s390: use hrtimer for clock wakeup from idle - v2
KVM: s390: optimize float int lock: spin_lock_bh --> spin_lock

Glauber Costa (3):
KVM: fix apic_debug instances
KVM: Replace ->drop_interrupt_shadow() by ->set_interrupt_shadow()
KVM: Deal with interrupt shadow state for emulated instructions

Gleb Natapov (19):
KVM: Remove inject_pending_vectors() callback
KVM: Remove kvm_push_irq()
KVM: sync_lapic_to_cr8() should always sync cr8 to V_TPR
KVM: Do not report TPR write to userspace if new value bigger or
equal to a previous one.
KVM: Get rid of arch.interrupt_window_open & arch.nmi_window_open
KVM: SVM: Add NMI injection support
KVM: Fix userspace IRQ chip migration
KVM: Get rid of get_irq() callback
KVM: SVM: Don't reinject event that caused a task switch
KVM: Unprotect a page if #PF happens during NMI injection.
KVM: Do not allow interrupt injection from userspace if there is a
pending event.
KVM: Remove irq_pending bitmap
KVM: skip_emulated_instruction() decode instruction if size is not
known
KVM: Do not re-execute INTn instruction.
KVM: Always request IRQ/NMI window if an interrupt is pending
KVM: inject NMI after IRET from a previous NMI, not before.
KVM: Do not migrate pending software interrupts.
KVM: Disable CR8 intercept if tpr patching is active
KVM: Move "exit due to NMI" handling into vmx_complete_interrupts()

Jan Blunck (1):
KVM: Wake up waitqueue before calling get_cpu()

Jan Kiszka (1):
KVM: Drop request_nmi from stats

Marcelo Tosatti (5):
KVM: use smp_send_reschedule in kvm_vcpu_kick
KVM: protect assigned dev workqueue, int handler and irq acker
KVM: MMU: protect kvm_mmu_change_mmu_pages with mmu_lock
KVM: take mmu_lock when updating a deleted slot
KVM: x86: check for cr3 validity in mmu_alloc_roots

Robert P. J. Day (1):
KVM: Expand on "help" info to specify kvm intel and amd module names

Sheng Yang (3):
KVM: Replace get_mt_mask_shift with get_mt_mask
KVM: Enable snooping control for supported hardware
KVM: VMX: Disable VMX when system shutdown

 arch/ia64/include/asm/kvm_host.h       |    1 +
 arch/ia64/kernel/irq_ia64.c            |    3 +
 arch/ia64/kvm/kvm-ia64.c               |   22 +--
 arch/s390/include/asm/kvm_host.h       |    5 +-
 arch/s390/kvm/intercept.c              |   28 +++--
 arch/s390/kvm/interrupt.c              |   53 ++++---
 arch/s390/kvm/kvm-s390.c               |   63 +++++++--
 arch/s390/kvm/kvm-s390.h               |    4 +-
 arch/s390/kvm/priv.c                   |    4 +-
 arch/s390/kvm/sigp.c                   |   16 +-
 arch/x86/include/asm/cpufeature.h      |    2 +
 arch/x86/include/asm/kvm_host.h        |   30 +++--
 arch/x86/include/asm/kvm_x86_emulate.h |    6 +
 arch/x86/kernel/smp.c                  |    3 +
 arch/x86/kvm/Kconfig                   |    6 +
 arch/x86/kvm/irq.c                     |    4 +-
 arch/x86/kvm/lapic.c                   |    4 +-
 arch/x86/kvm/mmu.c                     |   50 ++++---
 arch/x86/kvm/svm.c                     |  248 ++++++++++++++++++++-----------
 arch/x86/kvm/vmx.c                     |  260 ++++++++++++++++----------------
 arch/x86/kvm/x86.c                     |  247 ++++++++++++++++++------------
 arch/x86/kvm/x86.h                     |   22 +--
 arch/x86/kvm/x86_emulate.c             |   20 +++
 include/linux/kvm_host.h               |    6 +-
 virt/kvm/iommu.c                       |   27 +++-
 virt/kvm/irq_comm.c                    |    2 +-
 virt/kvm/kvm_main.c                    |   33 +++--
 27 files changed, 721 insertions(+), 448 deletions(-)