KVM Updates for 2.6.29 (Part 1 of 3)
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest45 patches 3 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/45 | KVM: x86 emulator: consolidate push regarch/ | +1 | 0 replies | |
| 2/45 | KVM: VMX: include all IRQ window exits in statisticsarch/ | +1 | 0 replies | |
| 3/45 | KVM: VMX: Use INTR_TYPE_NMI_INTR instead of magic valuearch/ | +2 | 0 replies | |
| 4/45 | KVM: VMX: Support for NMI task gatesarch/ | +15 | 0 replies | |
| 5/45 | KVM: x86: Reset pending/inject NMI state on CPU resetarch/ | +3 | 0 replies | |
| 6/45 | KVM: VMX: refactor/fix IRQ and NMI injectability determinationarch/ arch/ | +22 | 0 replies | |
| 7/45 | KVM: VMX: refactor IRQ and NMI window enablingarch/ | +32 | 0 replies | |
| 8/45 | KVM: VMX: fix real-mode NMI supportarch/ | +13 | 0 replies | |
| 9/45 | KVM: x86: Enable NMI Watchdog via in-kernel PIT sourcearch/ arch/ arch/ | +45 | 0 replies | |
| 10/45 | KVM: x86: VCPU with pending NMI is runnabledarch/ | +2 | 0 replies | |
| 11/45 | KVM: Kick NMI receiving VCPUarch/ virt/ | +2 | 0 replies | |
| 12/45 | KVM: x86: Support for user space injected NMIsarch/ arch/ include/ | +55 | 3 replies | |
| 13/45 | KVM: VMX: Provide support for user space injected NMIsarch/ | +33 | 0 replies | |
| 14/45 | KVM: VMX: work around lacking VNMI supportarch/ | +115 | 0 replies | |
| 15/45 | KVM: call kvm_arch_vcpu_reset() instead of the kvm_x86_ops callbackarch/ | +1 | 0 replies | |
| 16/45 | x86: Rename mtrr_state struct and macro namesarch/ arch/ arch/ | +10 | 0 replies | |
| 17/45 | x86: Export some definition of MTRRarch/ arch/ arch/ | +28 | 0 replies | |
| 18/45 | KVM: Improve MTRR structurearch/ arch/ | +63 | 0 replies | |
| 19/45 | KVM: VMX: Add PAT support for EPTarch/ arch/ arch/ | +34 | 0 replies | |
| 20/45 | KVM: Add local get_mtrr_type() to support MTRRarch/ | +104 | 0 replies | |
| 21/45 | KVM: Enable MTRR for EPTarch/ arch/ arch/ +2 more | +27 | 0 replies | |
| 22/45 | KVM: Clean up kvm_x86_emulate.harch/ | +3 | 0 replies | |
| 23/45 | KVM: MMU: Extend kvm_mmu_page->slot_bitmap sizearch/ arch/ | +8 | 0 replies | |
| 24/45 | KVM: VMX: Move private memory slot positionarch/ arch/ | +4 | 0 replies | |
| 25/45 | KVM: x86 emulator: Add decode entries for 0x04 and 0x05 opcodes (add acc, imm)arch/ | +1 | 0 replies | |
| 26/45 | KVM: x86: Fix and refactor NMI watchdog emulationarch/ arch/ arch/ | +20 | 0 replies | |
| 27/45 | KVM: x86: Optimize NMI watchdog deliveryarch/ arch/ arch/ | +27 | 0 replies | |
| 28/45 | KVM: IRQ ACK notifier should be used with in-kernel irqchipinclude/ virt/ virt/ | +8 | 0 replies | |
| 29/45 | KVM: x86: Fix typo in function namearch/ | +5 | 0 replies | |
| 30/45 | KVM: SVM: Set the 'g' bit of the cs selector for cross-vendor migrationarch/ | +9 | 0 replies | |
| 31/45 | KVM: SVM: Set the 'busy' flag of the TR selectorarch/ | +7 | 0 replies | |
| 32/45 | KVM: allow emulator to adjust rip for emulated pio instructionsarch/ arch/ arch/ +1 more | +3 | 0 replies | |
| 33/45 | KVM: VMX: Handle mmio emulation when guest state is invalidarch/ | +15 | 0 replies | |
| 34/45 | KVM: ia64: Re-organize data sturure of guests' data areaarch/ arch/ arch/ +3 more | +161 | 0 replies | |
| 35/45 | KVM: ia64: Remove lock held by halted vcpuarch/ | +0 | 0 replies | |
| 36/45 | KVM: Enable Function Level Reset for assigned devicearch/ virt/ | +6 | 0 replies | |
| 37/45 | KVM: MMU: Fix aliased gfns treated as unaliasedarch/ arch/ virt/ | +17 | 0 replies | |
| 38/45 | KVM: ppc: Move 440-specific TLB code into 44x_tlb.carch/ arch/ arch/ +1 more | +145 | 0 replies | |
| 39/45 | KVM: ppc: Rename "struct tlbe" to "struct kvmppc_44x_tlbe"arch/ arch/ arch/ +3 more | +33 | 0 replies | |
| 40/45 | KVM: ppc: combine booke_guest.c and booke_host.carch/ arch/ arch/ +1 more | +66 | 0 replies | |
| 41/45 | KVM: ppc: Refactor powerpc.c to relocate 440-specific codearch/ arch/ arch/ +6 more | +207 | 0 replies | |
| 42/45 | ppc: Create disassemble.h to extract instruction fieldsarch/ arch/ | +81 | 0 replies | |
| 43/45 | KVM: ppc: refactor instruction emulation into generic and core-specific piecesarch/ arch/ arch/ +5 more | +415 | 0 replies | |
| 44/45 | KVM: ppc: Move the last bits of 44x code out of booke.carch/ arch/ arch/ | +58 | 0 replies | |
| 45/45 | KVM: ppc: create struct kvm_vcpu_44x and introduce container_of() accessorarch/ arch/ arch/ +6 more | +154 | 0 replies |
Reviews trailers per patch
4 of 45 patches have a Reviewed-by or Acked-by.
| Patch | Sheng Yang | Marcelo Tosatti | Paul Mackerras |
|---|---|---|---|
| 1/45 | |||
| 2/45 | |||
| 3/45 | |||
| 4/45 | |||
| 5/45 | |||
| 6/45 | |||
| 7/45 | |||
| 8/45 | |||
| 9/45 | |||
| 10/45 | |||
| 11/45 | |||
| 12/45 | |||
| 13/45 | |||
| 14/45 | |||
| 15/45 | |||
| 16/45 | |||
| 17/45 | |||
| 18/45 | |||
| 19/45 | |||
| 20/45 | |||
| 21/45 | |||
| 22/45 | |||
| 23/45 | |||
| 24/45 | |||
| 25/45 | |||
| 26/45 | A-b | ||
| 27/45 | A-b | ||
| 28/45 | |||
| 29/45 | |||
| 30/45 | |||
| 31/45 | |||
| 32/45 | |||
| 33/45 | |||
| 34/45 | |||
| 35/45 | |||
| 36/45 | |||
| 37/45 | A-b | ||
| 38/45 | |||
| 39/45 | |||
| 40/45 | |||
| 41/45 | |||
| 42/45 | A-b | ||
| 43/45 | |||
| 44/45 | |||
| 45/45 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.
Cover letter [PATCH 00/45] KVM Updates for 2.6.29 (Part 1 of 3)
Following is the kvm patchqueue for the 2.6.29 merge window. Due to the number of patches, this will be sent in three batches, of which this is the first.
Amit Shah (3):
KVM: x86: Fix typo in function name
KVM: SVM: Set the 'g' bit of the cs selector for cross-vendor
migration
KVM: SVM: Set the 'busy' flag of the TR selector
Gleb Natapov (1):
KVM: call kvm_arch_vcpu_reset() instead of the kvm_x86_ops callback
Guillaume Thouvenin (4):
KVM: x86 emulator: consolidate push reg
KVM: x86 emulator: Add decode entries for 0x04 and 0x05 opcodes (add
acc, imm)
KVM: allow emulator to adjust rip for emulated pio instructions
KVM: VMX: Handle mmio emulation when guest state is invalid
Hollis Blanchard (8):
KVM: ppc: Move 440-specific TLB code into 44x_tlb.c
KVM: ppc: Rename "struct tlbe" to "struct kvmppc_44x_tlbe"
KVM: ppc: combine booke_guest.c and booke_host.c
KVM: ppc: Refactor powerpc.c to relocate 440-specific code
ppc: Create disassemble.h to extract instruction fields
KVM: ppc: refactor instruction emulation into generic and
core-specific pieces
KVM: ppc: Move the last bits of 44x code out of booke.c
KVM: ppc: create struct kvm_vcpu_44x and introduce container_of()
accessor
Izik Eidus (1):
KVM: MMU: Fix aliased gfns treated as unaliased
Jan Kiszka (15):
KVM: VMX: include all IRQ window exits in statistics
KVM: VMX: Use INTR_TYPE_NMI_INTR instead of magic value
KVM: VMX: Support for NMI task gates
KVM: x86: Reset pending/inject NMI state on CPU reset
KVM: VMX: refactor/fix IRQ and NMI injectability determination
KVM: VMX: refactor IRQ and NMI window enabling
KVM: VMX: fix real-mode NMI support
KVM: x86: Enable NMI Watchdog via in-kernel PIT source
KVM: x86: VCPU with pending NMI is runnabled
KVM: Kick NMI receiving VCPU
KVM: x86: Support for user space injected NMIs
KVM: VMX: Provide support for user space injected NMIs
KVM: VMX: work around lacking VNMI support
KVM: x86: Fix and refactor NMI watchdog emulation
KVM: x86: Optimize NMI watchdog delivery
Sheng Yang (11):
x86: Rename mtrr_state struct and macro names
x86: Export some definition of MTRR
KVM: Improve MTRR structure
KVM: VMX: Add PAT support for EPT
KVM: Add local get_mtrr_type() to support MTRR
KVM: Enable MTRR for EPT
KVM: Clean up kvm_x86_emulate.h
KVM: MMU: Extend kvm_mmu_page->slot_bitmap size
KVM: VMX: Move private memory slot position
KVM: IRQ ACK notifier should be used with in-kernel irqchip
KVM: Enable Function Level Reset for assigned device
Xiantao Zhang (2):
KVM: ia64: Re-organize data sturure of guests' data area
KVM: ia64: Remove lock held by halted vcpu
arch/ia64/include/asm/kvm_host.h | 192 ++++++++-----
arch/ia64/kvm/kvm-ia64.c | 62 ++--
arch/ia64/kvm/kvm_minstate.h | 4 +-
arch/ia64/kvm/misc.h | 3 +-
arch/ia64/kvm/vcpu.c | 5 +-
arch/ia64/kvm/vtlb.c | 4 +-
arch/powerpc/include/asm/disassemble.h | 80 +++++
arch/powerpc/include/asm/kvm_44x.h | 47 +++
arch/powerpc/include/asm/kvm_host.h | 12 +-
arch/powerpc/include/asm/kvm_ppc.h | 75 ++---
arch/powerpc/kernel/asm-offsets.c | 16 +-
arch/powerpc/kvm/44x.c | 234 ++++++++++++++
arch/powerpc/kvm/44x_emulate.c | 335 ++++++++++++++++++++
arch/powerpc/kvm/44x_tlb.c | 179 ++++++++++-
arch/powerpc/kvm/44x_tlb.h | 29 ++-
arch/powerpc/kvm/Kconfig | 11 +-
arch/powerpc/kvm/Makefile | 11 +-
arch/powerpc/kvm/{booke_guest.c => booke.c} | 187 +++++++-----
arch/powerpc/kvm/booke.h | 39 +++
arch/powerpc/kvm/booke_host.c | 83 -----
arch/powerpc/kvm/booke_interrupts.S | 6 +-
arch/powerpc/kvm/emulate.c | 437 ++-------------------------
arch/powerpc/kvm/powerpc.c | 126 +-------
arch/x86/include/asm/kvm_host.h | 22 +-
arch/x86/include/asm/kvm_x86_emulate.h | 10 +-
arch/x86/include/asm/mtrr.h | 25 ++
arch/x86/kernel/cpu/mtrr/generic.c | 12 +-
arch/x86/kernel/cpu/mtrr/main.c | 4 +-
arch/x86/kernel/cpu/mtrr/mtrr.h | 18 +-
arch/x86/kvm/i8254.c | 19 ++
arch/x86/kvm/irq.h | 1 +
arch/x86/kvm/lapic.c | 58 +++-
arch/x86/kvm/mmu.c | 135 ++++++++-
arch/x86/kvm/svm.c | 23 ++
arch/x86/kvm/vmx.c | 345 +++++++++++++++-------
arch/x86/kvm/vmx.h | 12 +-
arch/x86/kvm/x86.c | 133 +++++++-
arch/x86/kvm/x86_emulate.c | 12 +-
include/linux/kvm.h | 11 +-
include/linux/kvm_host.h | 3 +-
virt/kvm/ioapic.c | 1 +
virt/kvm/irq_comm.c | 8 +-
virt/kvm/kvm_main.c | 16 +-
43 files changed, 1940 insertions(+), 1105 deletions(-)
create mode 100644 arch/powerpc/include/asm/disassemble.h
create mode 100644 arch/powerpc/include/asm/kvm_44x.h
create mode 100644 arch/powerpc/kvm/44x.c
create mode 100644 arch/powerpc/kvm/44x_emulate.c
rename arch/powerpc/kvm/{booke_guest.c => booke.c} (80%)
create mode 100644 arch/powerpc/kvm/booke.h
delete mode 100644 arch/powerpc/kvm/booke_host.c