Skip to content

KVM updates for 2.6.32 merge window (2/4)

Avi Kivity kvm lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest47 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/47KVM: Return to userspace on emulation failurearch/x86/kvm/mmu.c include/linux/kvm.h+10 -20 replies
2/47KVM: MMU: introduce is_last_spte helperarch/x86/kvm/mmu.c+13 -130 replies
3/47KVM: MMU audit: update count_writable_mappings / count_rmapsarch/x86/kvm/mmu.c+94 -100 replies
4/47KVM: MMU audit: update audit_write_protectionarch/x86/kvm/mmu.c+11 -30 replies
5/47KVM: MMU audit: nontrapping ptes in nonleaf levelarch/x86/kvm/mmu.c+1 -60 replies
6/47KVM: MMU audit: audit_mappings tweaksarch/x86/kvm/mmu.c+7 -10 replies
7/47KVM: MMU audit: largepage handlingarch/x86/kvm/mmu.c+7 -80 replies
8/47KVM: Move performance counter MSR access interception to generic x86 patharch/x86/kvm/svm.c arch/x86/kvm/vmx.c arch/x86/kvm/x86.c+30 -280 replies
9/47KVM: VMX: more MSR_IA32_VMX_EPT_VPID_CAP capability bitsarch/x86/include/asm/vmx.h arch/x86/kvm/vmx.c+27 -00 replies
10/47KVM: MMU: make for_each_shadow_entry aware of largepagesarch/x86/kvm/mmu.c+5 -00 replies
11/47KVM: MMU: add kvm_mmu_get_spte_hierarchy helperarch/x86/kvm/mmu.c arch/x86/kvm/mmu.h+20 -00 replies
12/47KVM: VMX: EPT misconfiguration handlerarch/x86/kvm/vmx.c+85 -10 replies
13/47KVM: VMX: conditionally disable 2M pagesarch/x86/kvm/vmx.c include/linux/kvm_host.h virt/kvm/kvm_main.c+16 -20 replies
14/47KVM: Replace pending exception by PF if it happens seriallyarch/x86/kvm/x86.c+13 -70 replies
15/47KVM: Optimize searching for highest IRRarch/x86/kvm/lapic.c arch/x86/kvm/lapic.h+22 -30 replies
16/47KVM: Fix racy event propagation in timerarch/x86/kvm/timer.c+10 -60 replies
17/47KVM: Drop useless atomic test from timer functionarch/x86/kvm/timer.c+2 -20 replies
18/47KVM: VMX: Only reload guest cr2 if different from host cr2arch/x86/kvm/vmx.c+7 -20 replies
19/47KVM: SVM: Don't save/restore host cr2arch/x86/kvm/svm.c+0 -170 replies
20/47x86: Add definition for IGNNE MSRarch/x86/include/asm/msr-index.h+1 -00 replies
21/47KVM: Implement MSRs used by Hyper-Varch/x86/kvm/svm.c+5 -00 replies
22/47KVM: SVM: Implement INVLPGAarch/x86/kvm/svm.c+14 -10 replies
23/47KVM: SVM: Improve nested interrupt injectionarch/x86/kvm/svm.c+24 -150 replies
24/47KVM: convert custom marker based tracing to event tracesarch/x86/include/asm/kvm_host.h arch/x86/kvm/Makefile arch/x86/kvm/lapic.c +7 more+463 -860 replies
25/47KVM: Allow emulation of syscalls instructions on #UDarch/x86/kvm/x86.c+26 -70 replies
26/47KVM: x86 emulator: Add missing EFLAGS bit definitionsarch/x86/kvm/x86_emulate.c+3 -00 replies
27/47KVM: x86 emulator: Prepare for emulation of syscall instructionsarch/x86/kvm/x86_emulate.c+15 -20 replies
28/47KVM: x86 emulator: add syscall emulationarch/x86/kvm/x86_emulate.c+83 -10 replies
29/47KVM: x86 emulator: Add sysenter emulationarch/x86/kvm/x86_emulate.c+69 -10 replies
30/47KVM: x86 emulator: Add sysexit emulationarch/x86/kvm/x86_emulate.c+71 -10 replies
31/47KVM: s390: Fix memslot initialization for userspace_addr != 0virt/kvm/kvm_main.c+4 -00 replies
32/47hugetlbfs: export vma_kernel_pagsize to modulesmm/hugetlb.c+1 -00 replies
33/47KVM: Prepare memslot data structures for multiple hugepage sizesarch/ia64/include/asm/kvm_host.h arch/powerpc/include/asm/kvm_host.h arch/s390/include/asm/kvm_host.h +5 more+73 -420 replies
34/47KVM: x86: missing locking in PIT/IRQCHIP/SET_BSP_CPU ioctl pathsarch/x86/kvm/i8254.c arch/x86/kvm/x86.c virt/kvm/kvm_main.c+14 -20 replies
35/47KVM: ignore AMDs HWCR register access to set the FFDIS bitarch/x86/kvm/svm.c arch/x86/kvm/x86.c+8 -10 replies
36/47KVM: ignore reads from AMDs C1E enabled MSRarch/x86/kvm/x86.c+1 -00 replies
37/47KVM: introduce module parameter for ignoring unknown MSRs accessesarch/x86/kvm/x86.c+20 -40 replies
38/47KVM: powerpc: convert marker probes to event tracearch/powerpc/kvm/44x_tlb.c arch/powerpc/kvm/Makefile arch/powerpc/kvm/e500_tlb.c +3 more+126 -150 replies
39/47KVM: remove old KVMTRACE support codearch/ia64/kvm/Kconfig arch/powerpc/kvm/Kconfig arch/powerpc/kvm/Makefile +7 more+2 -3800 replies
40/47KVM: use vcpu_id instead of bsp_vcpu pointer in kvm_vcpu_is_bspinclude/linux/kvm_host.h+1 -10 replies
41/47KVM: document locking for kvm_io_device_opsvirt/kvm/iodev.h+3 -00 replies
42/47KVM: switch coalesced mmio changes to slots_lockvirt/kvm/coalesced_mmio.c+5 -50 replies
43/47KVM: switch pit creation to slots_lockarch/x86/kvm/x86.c+2 -20 replies
44/47KVM: convert bus to slots_lockarch/x86/kvm/i8254.c arch/x86/kvm/i8259.c include/linux/kvm_host.h +3 more+21 -70 replies
45/47KVM: remove in_range from io devicesarch/ia64/kvm/kvm-ia64.c arch/x86/kvm/i8254.c arch/x86/kvm/i8259.c +7 more+152 -2080 replies
46/47KVM: document lock nesting rulevirt/kvm/kvm_main.c+1 -10 replies
47/47KVM: fix lock imbalancevirt/kvm/ioapic.c+2 -10 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/47] KVM updates for 2.6.32 merge window (2/4)

Second batch of the KVM patch queue. Happy reviewing.

Alexander Graf (4):
x86: Add definition for IGNNE MSR
KVM: Implement MSRs used by Hyper-V
KVM: SVM: Implement INVLPGA
KVM: SVM: Improve nested interrupt injection

Andre Przywara (10):
KVM: Move performance counter MSR access interception to generic x86
path
KVM: Allow emulation of syscalls instructions on #UD
KVM: x86 emulator: Add missing EFLAGS bit definitions
KVM: x86 emulator: Prepare for emulation of syscall instructions
KVM: x86 emulator: add syscall emulation
KVM: x86 emulator: Add sysenter emulation
KVM: x86 emulator: Add sysexit emulation
KVM: ignore AMDs HWCR register access to set the FFDIS bit
KVM: ignore reads from AMDs C1E enabled MSR
KVM: introduce module parameter for ignoring unknown MSRs accesses

Avi Kivity (3):
KVM: Return to userspace on emulation failure
KVM: VMX: Only reload guest cr2 if different from host cr2
KVM: SVM: Don't save/restore host cr2

Christian Borntraeger (1):
KVM: s390: Fix memslot initialization for userspace_addr != 0

Gleb Natapov (2):
KVM: Replace pending exception by PF if it happens serially
KVM: Optimize searching for highest IRR

Jan Kiszka (2):
KVM: Fix racy event propagation in timer
KVM: Drop useless atomic test from timer function

Jiri Slaby (1):
KVM: fix lock imbalance

Joerg Roedel (2):
hugetlbfs: export vma_kernel_pagsize to modules
KVM: Prepare memslot data structures for multiple hugepage sizes

Marcelo Tosatti (16):
KVM: MMU: introduce is_last_spte helper
KVM: MMU audit: update count_writable_mappings / count_rmaps
KVM: MMU audit: update audit_write_protection
KVM: MMU audit: nontrapping ptes in nonleaf level
KVM: MMU audit: audit_mappings tweaks
KVM: MMU audit: largepage handling
KVM: VMX: more MSR_IA32_VMX_EPT_VPID_CAP capability bits
KVM: MMU: make for_each_shadow_entry aware of largepages
KVM: MMU: add kvm_mmu_get_spte_hierarchy helper
KVM: VMX: EPT misconfiguration handler
KVM: VMX: conditionally disable 2M pages
KVM: convert custom marker based tracing to event traces
KVM: x86: missing locking in PIT/IRQCHIP/SET_BSP_CPU ioctl paths
KVM: powerpc: convert marker probes to event trace
KVM: remove old KVMTRACE support code
KVM: use vcpu_id instead of bsp_vcpu pointer in kvm_vcpu_is_bsp

Michael S. Tsirkin (6):
KVM: document locking for kvm_io_device_ops
KVM: switch coalesced mmio changes to slots_lock
KVM: switch pit creation to slots_lock
KVM: convert bus to slots_lock
KVM: remove in_range from io devices
KVM: document lock nesting rule

 arch/ia64/include/asm/kvm_host.h    |    3 +-
 arch/ia64/kvm/Kconfig               |    3 -
 arch/ia64/kvm/kvm-ia64.c            |   28 +---
 arch/powerpc/include/asm/kvm_host.h |    3 +-
 arch/powerpc/kvm/44x_tlb.c          |   11 +-
 arch/powerpc/kvm/Kconfig            |   11 --
 arch/powerpc/kvm/Makefile           |    4 +-
 arch/powerpc/kvm/e500_tlb.c         |   16 +-
 arch/powerpc/kvm/emulate.c          |    3 +-
 arch/powerpc/kvm/powerpc.c          |    3 +
 arch/powerpc/kvm/trace.h            |  104 +++++++++++++
 arch/s390/include/asm/kvm_host.h    |    6 +-
 arch/s390/kvm/Kconfig               |    3 -
 arch/x86/include/asm/kvm_host.h     |   14 +-
 arch/x86/include/asm/msr-index.h    |    1 +
 arch/x86/include/asm/vmx.h          |    7 +
 arch/x86/kvm/Kconfig                |   12 --
 arch/x86/kvm/Makefile               |    5 +-
 arch/x86/kvm/i8254.c                |   56 ++++----
 arch/x86/kvm/i8259.c                |   22 ++-
 arch/x86/kvm/lapic.c                |   75 ++++++----
 arch/x86/kvm/lapic.h                |    1 +
 arch/x86/kvm/mmu.c                  |  222 ++++++++++++++++++++-------
 arch/x86/kvm/mmu.h                  |    2 +
 arch/x86/kvm/paging_tmpl.h          |    3 +-
 arch/x86/kvm/svm.c                  |  175 +++++++++++++---------
 arch/x86/kvm/timer.c                |   14 +-
 arch/x86/kvm/trace.h                |  260 +++++++++++++++++++++++++++++++
 arch/x86/kvm/vmx.c                  |  208 +++++++++++++++++++------
 arch/x86/kvm/x86.c                  |  290 ++++++++++++++++++++---------------
 arch/x86/kvm/x86_emulate.c          |  240 ++++++++++++++++++++++++++++-
 include/linux/kvm.h                 |   38 +----
 include/linux/kvm_host.h            |   47 ++-----
 include/trace/events/kvm.h          |   57 +++++++
 mm/hugetlb.c                        |    1 +
 virt/kvm/coalesced_mmio.c           |   28 ++--
 virt/kvm/ioapic.c                   |   25 ++--
 virt/kvm/iodev.h                    |   42 +++---
 virt/kvm/irq_comm.c                 |    5 +
 virt/kvm/kvm_main.c                 |  119 +++++++++++----
 virt/kvm/kvm_trace.c                |  285 ----------------------------------
 41 files changed, 1574 insertions(+), 878 deletions(-)
 create mode 100644 arch/powerpc/kvm/trace.h
 create mode 100644 arch/x86/kvm/trace.h
 create mode 100644 include/trace/events/kvm.h
 delete mode 100644 virt/kvm/kvm_trace.c