Skip to content

KVM updates for the 2.6.34 merge window (batch 1/4)

Avi Kivity kvm lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest40 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/40KVM: x86: make double/triple fault promotion generic to all exceptionsarch/x86/kvm/x86.c+61 -280 replies
2/40KVM: x86: raise TSS exception for NULL CS and SS segmentsarch/x86/kvm/x86.c+11 -00 replies
3/40KVM: MMU: Report spte not found in rmap before BUG()arch/x86/kvm/mmu.c+1 -00 replies
4/40KVM: VMX: Trap and invalid MWAIT/MONITOR instructionarch/x86/include/asm/vmx.h arch/x86/kvm/vmx.c+11 -00 replies
5/40KVM: VMX: Move some cr[04] related constants to vmx.carch/x86/include/asm/kvm_host.h arch/x86/kvm/vmx.c+13 -130 replies
6/40KVM: Add accessor for reading cr4 (or some bits of cr4)arch/x86/include/asm/kvm_host.h arch/x86/kvm/kvm_cache_regs.h arch/x86/kvm/mmu.h +2 more+30 -170 replies
7/40KVM: VMX: Make guest cr4 mask more conservativearch/x86/kvm/vmx.c+6 -40 replies
8/40KVM: VMX: When using ept, allow the guest to own cr4.pgearch/x86/kvm/vmx.c+2 -00 replies
9/40KVM: VMX: Fold ept_update_paging_mode_cr4() into its callerarch/x86/kvm/vmx.c+8 -120 replies
10/40KVM: VMX: Remove redundant variablearch/x86/kvm/vmx.c+0 -20 replies
11/40KVM: Extended shared_msr_global to per CPUarch/x86/kvm/x86.c+33 -220 replies
12/40x86: Raise vsyscall priority on hotplug notifier chainarch/x86/kernel/vsyscall_64.c+2 -10 replies
13/40KVM: Add cpuid_update() callback to kvm_x86_opsarch/x86/include/asm/kvm_host.h arch/x86/kvm/svm.c arch/x86/kvm/vmx.c +1 more+16 -00 replies
14/40KVM: VMX: Add instruction rdtscp support for guestarch/x86/include/asm/kvm_host.h arch/x86/include/asm/vmx.h arch/x86/kvm/svm.c +2 more+68 -40 replies
15/40KVM: SVM: Adjust tsc_offset only if tsc_unstablearch/x86/kvm/svm.c+10 -80 replies
16/40KVM: Disentangle mmu notifiers and coalesced_mmio registrationvirt/kvm/kvm_main.c+7 -110 replies
17/40KVM: Add include guards for coalesced_mmio.hvirt/kvm/coalesced_mmio.h+5 -00 replies
18/40KVM: Remove ifdefs from mmu notifier initializationvirt/kvm/kvm_main.c+15 -50 replies
19/40KVM: Add KVM_MMIO kconfig itemarch/ia64/kvm/Kconfig arch/powerpc/kvm/Kconfig arch/x86/kvm/Kconfig +1 more+6 -00 replies
20/40KVM: Simplify coalesced mmio initializationvirt/kvm/coalesced_mmio.c virt/kvm/coalesced_mmio.h virt/kvm/kvm_main.c+34 -80 replies
21/40KVM: powerpc: Move vector to irqprio resolving to separate functionarch/powerpc/kvm/book3s.c+10 -30 replies
22/40KVM: powerpc: Improve DEC handlingarch/powerpc/include/asm/kvm_ppc.h arch/powerpc/kvm/book3s.c arch/powerpc/kvm/booke.c +1 more+24 -10 replies
23/40KVM: powerpc: Remove AGGRESSIVE_DECarch/powerpc/kvm/book3s.c+1 -150 replies
24/40KVM: powerpc: Change maintainerMAINTAINERS+1 -10 replies
25/40KVM: trivial document fixesDocumentation/kvm/api.txt+6 -60 replies
26/40KVM: modify memslots layout in struct kvmarch/ia64/kvm/kvm-ia64.c arch/powerpc/kvm/book3s.c arch/x86/kvm/mmu.c +5 more+60 -370 replies
27/40KVM: modify alias layout in x86s struct kvm_archarch/x86/include/asm/kvm_host.h arch/x86/kvm/x86.c+22 -70 replies
28/40KVM: split kvm_arch_set_memory_region into prepare and commitarch/ia64/kvm/kvm-ia64.c arch/powerpc/kvm/powerpc.c arch/s390/kvm/kvm-s390.c +3 more+82 -470 replies
29/40KVM: introduce gfn_to_pfn_memslotinclude/linux/kvm_host.h virt/kvm/kvm_main.c+27 -80 replies
30/40KVM: use gfn_to_pfn_memslot in kvm_iommu_map_pagesinclude/linux/kvm_host.h virt/kvm/iommu.c virt/kvm/kvm_main.c+8 -100 replies
31/40KVM: introduce kvm->srcu and convert kvm_set_memory_region to SRCU updatearch/ia64/kvm/kvm-ia64.c arch/x86/kvm/mmu.c arch/x86/kvm/vmx.c +5 more+136 -640 replies
32/40KVM: use SRCU for dirty logarch/x86/kvm/x86.c+41 -80 replies
33/40KVM: x86: switch kvm_set_memory_alias to SRCU updatearch/x86/include/asm/kvm_host.h arch/x86/kvm/x86.c include/linux/kvm_host.h +1 more+63 -110 replies
34/40KVM: convert io_bus to SRCUarch/ia64/kvm/kvm-ia64.c arch/x86/kvm/i8254.c arch/x86/kvm/i8259.c +6 more+101 -750 replies
35/40KVM: switch vcpu context to use SRCUarch/ia64/kvm/kvm-ia64.c arch/s390/kvm/kvm-s390.h arch/x86/kvm/mmu.c +3 more+45 -380 replies
36/40KVM: convert slots_lock to a mutexarch/ia64/kvm/kvm-ia64.c arch/powerpc/kvm/book3s.c arch/x86/kvm/i8254.c +8 more+39 -390 replies
37/40KVM: Bump maximum vcpu count to 64arch/x86/include/asm/kvm_host.h+1 -10 replies
38/40KVM: Fill out ftrace exit reason stringsarch/x86/kvm/vmx.c+39 -190 replies
39/40KVM: avoid taking ioapic mutex for non-ioapic EOIsvirt/kvm/ioapic.c virt/kvm/ioapic.h+20 -00 replies
40/40KVM: PPC: Fix typo in rebolting codearch/powerpc/kvm/book3s_64_slb.S+1 -10 replies

Reviews trailers per patch

4 of 40 patches have a Reviewed-by or Acked-by.

PatchHollis Blanchard
1/40
2/40
3/40
4/40
5/40
6/40
7/40
8/40
9/40
10/40
11/40
12/40
13/40
14/40
15/40
16/40
17/40
18/40
19/40
20/40
21/40A-b
22/40A-b
23/40A-b
24/40A-b
25/40
26/40
27/40
28/40
29/40
30/40
31/40
32/40
33/40
34/40
35/40
36/40
37/40
38/40
39/40
40/40

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 00/40] KVM updates for the 2.6.34 merge window (batch 1/4)

This is the first of four batches of patches for the 2.6.34 merge window. KVM changes for this cycle include:

- rdtscp support
- powerpc server-class updates
- much improved large-guest scaling (now up to 64 vcpus)
- improved guest fpu handling
- initial Hyper-V emulation
- better swapping with EPT
- 1GB pages on Intel
- x86 emulator fixes

as well as the usual assortment of random fixes and improvements.

Alexander Graf (5):
KVM: powerpc: Move vector to irqprio resolving to separate function
KVM: powerpc: Improve DEC handling
KVM: powerpc: Remove AGGRESSIVE_DEC
KVM: powerpc: Change maintainer
KVM: PPC: Fix typo in rebolting code

Avi Kivity (14):
KVM: MMU: Report spte not found in rmap before BUG()
KVM: VMX: Move some cr[04] related constants to vmx.c
KVM: Add accessor for reading cr4 (or some bits of cr4)
KVM: VMX: Make guest cr4 mask more conservative
KVM: VMX: When using ept, allow the guest to own cr4.pge
KVM: VMX: Fold ept_update_paging_mode_cr4() into its caller
KVM: Disentangle mmu notifiers and coalesced_mmio registration
KVM: Add include guards for coalesced_mmio.h
KVM: Remove ifdefs from mmu notifier initialization
KVM: Add KVM_MMIO kconfig item
KVM: Simplify coalesced mmio initialization
KVM: Bump maximum vcpu count to 64
KVM: Fill out ftrace exit reason strings
KVM: avoid taking ioapic mutex for non-ioapic EOIs

Eddie Dong (1):
KVM: x86: make double/triple fault promotion generic to all
exceptions

Joerg Roedel (1):
KVM: SVM: Adjust tsc_offset only if tsc_unstable

Marcelo Tosatti (12):
KVM: x86: raise TSS exception for NULL CS and SS segments
KVM: modify memslots layout in struct kvm
KVM: modify alias layout in x86s struct kvm_arch
KVM: split kvm_arch_set_memory_region into prepare and commit
KVM: introduce gfn_to_pfn_memslot
KVM: use gfn_to_pfn_memslot in kvm_iommu_map_pages
KVM: introduce kvm->srcu and convert kvm_set_memory_region to SRCU
update
KVM: use SRCU for dirty log
KVM: x86: switch kvm_set_memory_alias to SRCU update
KVM: convert io_bus to SRCU
KVM: switch vcpu context to use SRCU
KVM: convert slots_lock to a mutex

Sheng Yang (6):
KVM: VMX: Trap and invalid MWAIT/MONITOR instruction
KVM: VMX: Remove redundant variable
KVM: Extended shared_msr_global to per CPU
x86: Raise vsyscall priority on hotplug notifier chain
KVM: Add cpuid_update() callback to kvm_x86_ops
KVM: VMX: Add instruction rdtscp support for guest

Wu Fengguang (1):
KVM: trivial document fixes

 Documentation/kvm/api.txt          |   12 +-
 MAINTAINERS                        |    2 +-
 arch/ia64/kvm/Kconfig              |    1 +
 arch/ia64/kvm/kvm-ia64.c           |   47 +++--
 arch/powerpc/include/asm/kvm_ppc.h |    1 +
 arch/powerpc/kvm/Kconfig           |    1 +
 arch/powerpc/kvm/book3s.c          |   51 +++--
 arch/powerpc/kvm/book3s_64_slb.S   |    2 +-
 arch/powerpc/kvm/booke.c           |    5 +
 arch/powerpc/kvm/emulate.c         |    3 +
 arch/powerpc/kvm/powerpc.c         |   18 ++-
 arch/s390/kvm/kvm-s390.c           |   25 ++-
 arch/s390/kvm/kvm-s390.h           |   10 +-
 arch/x86/include/asm/kvm_host.h    |   30 ++--
 arch/x86/include/asm/vmx.h         |    2 +
 arch/x86/kernel/vsyscall_64.c      |    3 +-
 arch/x86/kvm/Kconfig               |    1 +
 arch/x86/kvm/i8254.c               |    8 +-
 arch/x86/kvm/i8259.c               |    4 +-
 arch/x86/kvm/kvm_cache_regs.h      |   12 +
 arch/x86/kvm/mmu.c                 |   39 ++--
 arch/x86/kvm/mmu.h                 |    5 +-
 arch/x86/kvm/svm.c                 |   31 ++-
 arch/x86/kvm/vmx.c                 |  210 ++++++++++++++-----
 arch/x86/kvm/x86.c                 |  424 ++++++++++++++++++++++++------------
 include/linux/kvm.h                |    2 +-
 include/linux/kvm_host.h           |   66 ++++---
 virt/kvm/Kconfig                   |    3 +
 virt/kvm/assigned-dev.c            |    8 +-
 virt/kvm/coalesced_mmio.c          |   39 +++-
 virt/kvm/coalesced_mmio.h          |   15 ++
 virt/kvm/eventfd.c                 |   18 +-
 virt/kvm/ioapic.c                  |   23 ++-
 virt/kvm/ioapic.h                  |    1 +
 virt/kvm/iommu.c                   |   27 ++-
 virt/kvm/kvm_main.c                |  357 ++++++++++++++++++++----------
 36 files changed, 1023 insertions(+), 483 deletions(-)