Skip to content

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

Avi Kivity kvm lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest39 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/39KVM: PPC: Enable lightweight exits againarch/powerpc/kvm/book3s.c arch/powerpc/kvm/book3s_64_interrupts.S+57 -530 replies
2/39KVM: x86: Moving PT_*_LEVEL to mmu.harch/x86/kvm/mmu.c arch/x86/kvm/mmu.h+4 -40 replies
3/39KVM: x86: Rename gb_page_enable() to get_lpage_level() in kvm_x86_opsarch/x86/include/asm/kvm_host.h arch/x86/kvm/svm.c arch/x86/kvm/vmx.c +1 more+10 -80 replies
4/39KVM: VMX: Enable EPT 1GB page supportarch/x86/include/asm/vmx.h arch/x86/kvm/mmu.c arch/x86/kvm/vmx.c+16 -40 replies
5/39KVM: Fix the explanation of write_emulatedarch/x86/include/asm/kvm_emulate.h+1 -10 replies
6/39KVM: PPC: Use accessor functions for GPR accessarch/powerpc/include/asm/kvm_ppc.h arch/powerpc/kvm/44x_emulate.c arch/powerpc/kvm/44x_tlb.c +8 more+274 -2250 replies
7/39KVM: PPC: Add helpers for CR, XERarch/powerpc/include/asm/kvm_ppc.h arch/powerpc/kvm/44x_tlb.c arch/powerpc/kvm/book3s.c +1 more+52 -100 replies
8/39KVM: PPC: Use PACA backed shadow vcpuarch/powerpc/include/asm/kvm_book3s.h arch/powerpc/include/asm/kvm_book3s_64_asm.h arch/powerpc/include/asm/kvm_host.h +7 more+249 -2370 replies
9/39KVM: PPC: Implement 'skip instruction' modearch/powerpc/include/asm/kvm_asm.h arch/powerpc/kvm/book3s_64_rmhandlers.S arch/powerpc/kvm/book3s_64_slb.S +1 more+59 -60 replies
10/39KVM: PPC: Get rid of unnecessary RFIarch/powerpc/kvm/book3s_64_interrupts.S+11 -110 replies
11/39KVM: PPC: Call SLB patching code in interrupt safe mannerarch/powerpc/include/asm/kvm_book3s.h arch/powerpc/include/asm/kvm_book3s_64_asm.h arch/powerpc/include/asm/kvm_host.h +6 more+34 -210 replies
12/39KVM: PPC: Emulate trap SRR1 flags properlyarch/powerpc/include/asm/kvm_book3s.h arch/powerpc/include/asm/kvm_ppc.h arch/powerpc/include/asm/reg.h +3 more+14 -50 replies
13/39KVM: PPC: Fix HID5 setting codearch/powerpc/kvm/book3s_64_interrupts.S+2 -10 replies
14/39KVM: PPC: Pass program interrupt flags to the guestarch/powerpc/kvm/book3s.c+5 -20 replies
15/39KVM: PPC: Pass through program interruptsarch/powerpc/kvm/emulate.c+1 -00 replies
16/39KVM: PPC: Make large pages workarch/powerpc/include/asm/kvm_book3s.h arch/powerpc/kvm/book3s_64_mmu.c+8 -50 replies
17/39KVM: VMX: trace clts and lmsw instructions as cr accessesarch/x86/kvm/vmx.c+4 -10 replies
18/39KVM: Replace read accesses of vcpu->arch.cr0 by an accessorarch/x86/kvm/emulate.c arch/x86/kvm/kvm_cache_regs.h arch/x86/kvm/mmu.c +4 more+38 -270 replies
19/39KVM: VMX: Allow the guest to own some cr0 bitsarch/x86/include/asm/kvm_host.h arch/x86/kvm/kvm_cache_regs.h arch/x86/kvm/svm.c +1 more+18 -00 replies
20/39KVM: Lazify fpu activation and deactivationarch/x86/include/asm/kvm_host.h arch/x86/kvm/svm.c arch/x86/kvm/vmx.c +2 more+38 -310 replies
21/39KVM: VMX: Give the guest ownership of cr0.ts when the fpu is activearch/x86/kvm/vmx.c+9 -20 replies
22/39KVM: Set cr0.et when the guest writes cr0arch/x86/kvm/x86.c+2 -00 replies
23/39KVM: SVM: Fix SVM_CR0_SELECTIVE_MASKarch/x86/include/asm/svm.h+1 -10 replies
24/39KVM: SVM: Initialize fpu_active in init_vmcb()arch/x86/kvm/svm.c+2 -10 replies
25/39KVM: SVM: Restore unconditional cr0 intercept under nptarch/x86/kvm/svm.c+7 -220 replies
26/39KVM: SVM: Selective cr0 interceptarch/x86/kvm/svm.c+26 -60 replies
27/39KVM: SVM: Lazy fpu with nptarch/x86/kvm/svm.c+0 -80 replies
28/39KVM: ia64: remove redundant kvm_get_exit_data() NULL testsarch/ia64/kvm/kvm_fw.c+13 -150 replies
29/39KVM: PPC: Export __giveup_vsxarch/powerpc/kernel/ppc_ksyms.c+1 -00 replies
30/39KVM: PPC: Add helper functions to call real mode loadersarch/powerpc/include/asm/kvm_book3s.h arch/powerpc/kvm/book3s_64_exports.c arch/powerpc/kvm/book3s_64_rmhandlers.S+44 -00 replies
31/39KVM: PPC: Add support for FPU/Altivec/VSXarch/powerpc/include/asm/kvm_host.h arch/powerpc/kvm/book3s.c+201 -60 replies
32/39KVM: PPC: Fix initial GPR settingsarch/powerpc/include/asm/kvm_book3s.h arch/powerpc/include/asm/kvm_ppc.h+8 -30 replies
33/39KVM: PPC: Keep SRR1 flags around in shadow_msrarch/powerpc/include/asm/kvm_host.h arch/powerpc/kernel/asm-offsets.c arch/powerpc/kvm/book3s.c +1 more+10 -70 replies
34/39KVM: PPC: Move Shadow MSR calculation to functionarch/powerpc/kvm/book3s.c+21 -60 replies
35/39KVM: Add HYPER-V header filearch/x86/include/asm/hyperv.h+186 -00 replies
36/39KVM: Implement bare minimum of HYPER-V MSRsarch/x86/include/asm/kvm_host.h arch/x86/include/asm/kvm_para.h arch/x86/kvm/trace.h +2 more+230 -10 replies
37/39KVM: Add HYPER-V apic access MSRsarch/x86/include/asm/kvm_host.h arch/x86/kvm/lapic.c arch/x86/kvm/lapic.h +2 more+80 -40 replies
38/39KVM: Implement NotifyLongSpinWait HYPER-V hypercallarch/x86/kvm/x86.c include/linux/kvm.h+10 -10 replies
39/39KVM: rename is_writeble_pte() to is_writable_pte()arch/x86/kvm/mmu.c arch/x86/kvm/paging_tmpl.h+10 -100 replies

Reviews trailers per patch

5 of 39 patches have a Reviewed-by or Acked-by.

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

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/39] KVM updates for the 2.6.34 merge window (batch 2/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 (18):
KVM: PPC: Enable lightweight exits again
KVM: PPC: Use accessor functions for GPR access
KVM: PPC: Add helpers for CR, XER
KVM: PPC: Use PACA backed shadow vcpu
KVM: PPC: Implement 'skip instruction' mode
KVM: PPC: Get rid of unnecessary RFI
KVM: PPC: Call SLB patching code in interrupt safe manner
KVM: PPC: Emulate trap SRR1 flags properly
KVM: PPC: Fix HID5 setting code
KVM: PPC: Pass program interrupt flags to the guest
KVM: PPC: Pass through program interrupts
KVM: PPC: Make large pages work
KVM: PPC: Export __giveup_vsx
KVM: PPC: Add helper functions to call real mode loaders
KVM: PPC: Add support for FPU/Altivec/VSX
KVM: PPC: Fix initial GPR settings
KVM: PPC: Keep SRR1 flags around in shadow_msr
KVM: PPC: Move Shadow MSR calculation to function

Avi Kivity (11):
KVM: VMX: trace clts and lmsw instructions as cr accesses
KVM: Replace read accesses of vcpu->arch.cr0 by an accessor
KVM: VMX: Allow the guest to own some cr0 bits
KVM: Lazify fpu activation and deactivation
KVM: VMX: Give the guest ownership of cr0.ts when the fpu is active
KVM: Set cr0.et when the guest writes cr0
KVM: SVM: Fix SVM_CR0_SELECTIVE_MASK
KVM: SVM: Initialize fpu_active in init_vmcb()
KVM: SVM: Restore unconditional cr0 intercept under npt
KVM: SVM: Selective cr0 intercept
KVM: SVM: Lazy fpu with npt

Gleb Natapov (4):
KVM: Add HYPER-V header file
KVM: Implement bare minimum of HYPER-V MSRs
KVM: Add HYPER-V apic access MSRs
KVM: Implement NotifyLongSpinWait HYPER-V hypercall

Roel Kluin (1):
KVM: ia64: remove redundant kvm_get_exit_data() NULL tests

Sheng Yang (3):
KVM: x86: Moving PT_*_LEVEL to mmu.h
KVM: x86: Rename gb_page_enable() to get_lpage_level() in kvm_x86_ops
KVM: VMX: Enable EPT 1GB page support

Takuya Yoshikawa (2):
KVM: Fix the explanation of write_emulated
KVM: rename is_writeble_pte() to is_writable_pte()

 arch/ia64/kvm/kvm_fw.c                       |   28 +--
 arch/powerpc/include/asm/kvm_asm.h           |    6 +
 arch/powerpc/include/asm/kvm_book3s.h        |   11 +-
 arch/powerpc/include/asm/kvm_book3s_64_asm.h |   18 ++
 arch/powerpc/include/asm/kvm_host.h          |   21 ++-
 arch/powerpc/include/asm/kvm_ppc.h           |   82 ++++++-
 arch/powerpc/include/asm/paca.h              |    5 +
 arch/powerpc/include/asm/reg.h               |    4 +
 arch/powerpc/kernel/asm-offsets.c            |   33 +++-
 arch/powerpc/kernel/ppc_ksyms.c              |    1 +
 arch/powerpc/kvm/44x_emulate.c               |   25 +-
 arch/powerpc/kvm/44x_tlb.c                   |   20 +-
 arch/powerpc/kvm/book3s.c                    |  260 ++++++++++++++++++--
 arch/powerpc/kvm/book3s_64_emulate.c         |   77 +++---
 arch/powerpc/kvm/book3s_64_exports.c         |    8 +
 arch/powerpc/kvm/book3s_64_interrupts.S      |  336 ++++++++++----------------
 arch/powerpc/kvm/book3s_64_mmu.c             |   10 +-
 arch/powerpc/kvm/book3s_64_rmhandlers.S      |  119 ++++++++--
 arch/powerpc/kvm/book3s_64_slb.S             |  158 ++++++++-----
 arch/powerpc/kvm/booke.c                     |   27 +-
 arch/powerpc/kvm/booke_emulate.c             |  107 ++++----
 arch/powerpc/kvm/e500_emulate.c              |   95 ++++----
 arch/powerpc/kvm/e500_tlb.c                  |    4 +-
 arch/powerpc/kvm/emulate.c                   |  113 +++++----
 arch/powerpc/kvm/powerpc.c                   |   21 +-
 arch/x86/include/asm/hyperv.h                |  186 ++++++++++++++
 arch/x86/include/asm/kvm_emulate.h           |    2 +-
 arch/x86/include/asm/kvm_host.h              |   11 +-
 arch/x86/include/asm/kvm_para.h              |    1 +
 arch/x86/include/asm/svm.h                   |    2 +-
 arch/x86/include/asm/vmx.h                   |    1 +
 arch/x86/kvm/emulate.c                       |    6 +-
 arch/x86/kvm/kvm_cache_regs.h                |   12 +
 arch/x86/kvm/lapic.c                         |   31 +++
 arch/x86/kvm/lapic.h                         |    8 +
 arch/x86/kvm/mmu.c                           |   32 ++--
 arch/x86/kvm/mmu.h                           |    6 +-
 arch/x86/kvm/paging_tmpl.h                   |    2 +-
 arch/x86/kvm/svm.c                           |   95 ++++----
 arch/x86/kvm/trace.h                         |   32 +++
 arch/x86/kvm/vmx.c                           |   73 ++++--
 arch/x86/kvm/x86.c                           |  268 +++++++++++++++++++-
 include/linux/kvm.h                          |    3 +
 include/linux/kvm_host.h                     |    1 +
 44 files changed, 1686 insertions(+), 675 deletions(-)
 create mode 100644 arch/x86/include/asm/hyperv.h