Skip to content

KVM Updates for 2.6.29 (part 3 of 3)

Avi Kivity kvm lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest36 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/36KVM: x86 emulator: reduce duplication in one operand emulation thunksarch/x86/kvm/x86_emulate.c+23 -430 replies
2/36KVM: x86 emulator: consolidate emulation of two operand instructionsarch/x86/kvm/x86_emulate.c+28 -510 replies
3/36KVM: s390: Fix refcounting and allow module unloadarch/s390/kvm/kvm-s390.c+21 -140 replies
4/36KVM: s390: Fix memory leak of vcpu->runarch/s390/kvm/kvm-s390.c+2 -20 replies
5/36KVM: Prevent trace call into unloaded module textvirt/kvm/kvm_trace.c+1 -00 replies
6/36KVM: x86 emulator: Extract 'pop' sequence into a functionarch/x86/kvm/x86_emulate.c+17 -40 replies
7/36KVM: x86 emulator: allow pop from mmioarch/x86/kvm/x86_emulate.c+3 -30 replies
8/36KVM: x86 emulator: switch 'pop reg' instruction to emulate_pop()arch/x86/kvm/x86_emulate.c+4 -70 replies
9/36KVM: x86 emulator: fix ret emulationarch/x86/kvm/x86_emulate.c+2 -00 replies
10/36KVM: x86 emulator: fix popf emulationarch/x86/kvm/x86_emulate.c+2 -00 replies
11/36KVM: Remove extraneous semicolon after do/whilearch/x86/kvm/x86_emulate.c+1 -10 replies
12/36KVM: fix sparse warningvirt/kvm/kvm_main.c+1 -10 replies
13/36KVM: VMX: fix sparse warningarch/x86/kvm/vmx.c+1 -10 replies
14/36KVM: remove the IRQ ACK notifier assertionsvirt/kvm/irq_comm.c+0 -30 replies
15/36KVM: make kvm_unregister_irq_ack_notifier() safevirt/kvm/irq_comm.c+1 -30 replies
16/36KVM: don't fee an unallocated irq source idvirt/kvm/kvm_main.c+5 -20 replies
17/36KVM: add KVM_USERSPACE_IRQ_SOURCE_ID assertionsvirt/kvm/irq_comm.c+10 -40 replies
18/36KVM: split out kvm_free_assigned_irq()virt/kvm/kvm_main.c+22 -70 replies
19/36KVM: ppc: support large host pagesarch/powerpc/include/asm/kvm_ppc.h arch/powerpc/kvm/44x_tlb.c arch/powerpc/kvm/booke.c+64 -230 replies
20/36powerpc/44x: declare tlb_44x_index for use in C codearch/powerpc/include/asm/mmu-44x.h+1 -00 replies
21/36KVM: ppc: directly insert shadow mappings into the hardware TLBarch/powerpc/include/asm/kvm_44x.h arch/powerpc/include/asm/kvm_ppc.h arch/powerpc/kernel/asm-offsets.c +5 more+168 -2210 replies
22/36KVM: ppc: save and restore guest mappings on context switcharch/powerpc/include/asm/kvm_44x.h arch/powerpc/kvm/44x.c arch/powerpc/kvm/44x_tlb.c+66 -50 replies
23/36KVM: ppc: Implement in-kernel exit timing statisticsarch/powerpc/include/asm/kvm_host.h arch/powerpc/kernel/asm-offsets.c arch/powerpc/kvm/44x_emulate.c +10 more+516 -180 replies
24/36KVM: ppc: mostly cosmetic updates to the exit timing accounting codearch/powerpc/include/asm/kvm_host.h arch/powerpc/kvm/44x_emulate.c arch/powerpc/kvm/booke.c +2 more+66 -910 replies
25/36KVM: Really remove a slot when a user ask us sovirt/kvm/kvm_main.c+4 -10 replies
26/36KVM: x86 emulator: Extend the opcode descriptorarch/x86/kvm/x86_emulate.c+4 -40 replies
27/36KVM: x86 emulator: add Src2 decode setarch/x86/include/asm/kvm_x86_emulate.h arch/x86/kvm/x86_emulate.c+30 -00 replies
28/36KVM: x86 emulator: add a new "implied 1" Src decode typearch/x86/kvm/x86_emulate.c+5 -00 replies
29/36KVM: x86 emulator: add the assembler code for three operandsarch/x86/kvm/x86_emulate.c+39 -00 replies
30/36KVM: x86 emulator: add the emulation of shld and shrd instructionsarch/x86/kvm/x86_emulate.c+15 -20 replies
31/36KVM: x86 emulator: Fix handling of VMMCALL instructionarch/x86/kvm/x86_emulate.c+1 -10 replies
32/36KVM: MMU: use page array in unsync walkarch/x86/include/asm/kvm_host.h arch/x86/kvm/mmu.c+141 -560 replies
33/36KVM: MMU: collapse remote TLB flushes on root syncarch/x86/kvm/mmu.c+14 -50 replies
34/36KVM: MMU: skip global pgtables on sync due to cr3 switcharch/x86/include/asm/kvm_host.h arch/x86/kvm/mmu.c arch/x86/kvm/paging_tmpl.h +1 more+63 -100 replies
35/36KVM: MMU: prepopulate the shadow on invlpgarch/x86/include/asm/kvm_host.h arch/x86/kvm/mmu.c arch/x86/kvm/paging_tmpl.h +1 more+40 -150 replies
36/36x86: KVM guest: kvm_get_tsc_khz: return khz, not lpjarch/x86/kernel/kvmclock.c+4 -40 replies

Reviews trailers per patch

3 of 36 patches have a Reviewed-by or Acked-by.

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

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/36] KVM Updates for 2.6.29 (part 3 of 3)

This is the third batch of the 2.6.29 merge window queue.

Amit Shah (1):
KVM: x86 emulator: Fix handling of VMMCALL instruction

Avi Kivity (8):
KVM: x86 emulator: reduce duplication in one operand emulation thunks
KVM: x86 emulator: consolidate emulation of two operand instructions
KVM: x86 emulator: Extract 'pop' sequence into a function
KVM: x86 emulator: allow pop from mmio
KVM: x86 emulator: switch 'pop reg' instruction to emulate_pop()
KVM: x86 emulator: fix ret emulation
KVM: x86 emulator: fix popf emulation
KVM: Remove extraneous semicolon after do/while

Christian Borntraeger (2):
KVM: s390: Fix refcounting and allow module unload
KVM: s390: Fix memory leak of vcpu->run

Eduardo Habkost (1):
x86: KVM guest: kvm_get_tsc_khz: return khz, not lpj

Glauber Costa (1):
KVM: Really remove a slot when a user ask us so

Guillaume Thouvenin (5):
KVM: x86 emulator: Extend the opcode descriptor
KVM: x86 emulator: add Src2 decode set
KVM: x86 emulator: add a new "implied 1" Src decode type
KVM: x86 emulator: add the assembler code for three operands
KVM: x86 emulator: add the emulation of shld and shrd instructions

Hannes Eder (2):
KVM: fix sparse warning
KVM: VMX: fix sparse warning

Hollis Blanchard (6):
KVM: ppc: support large host pages
powerpc/44x: declare tlb_44x_index for use in C code
KVM: ppc: directly insert shadow mappings into the hardware TLB
KVM: ppc: save and restore guest mappings on context switch
KVM: ppc: Implement in-kernel exit timing statistics
KVM: ppc: mostly cosmetic updates to the exit timing accounting code

Marcelo Tosatti (4):
KVM: MMU: use page array in unsync walk
KVM: MMU: collapse remote TLB flushes on root sync
KVM: MMU: skip global pgtables on sync due to cr3 switch
KVM: MMU: prepopulate the shadow on invlpg

Mark McLoughlin (5):
KVM: remove the IRQ ACK notifier assertions
KVM: make kvm_unregister_irq_ack_notifier() safe
KVM: don't fee an unallocated irq source id
KVM: add KVM_USERSPACE_IRQ_SOURCE_ID assertions
KVM: split out kvm_free_assigned_irq()

Wu Fengguang (1):
KVM: Prevent trace call into unloaded module text

 arch/powerpc/include/asm/kvm_44x.h     |   26 ++-
 arch/powerpc/include/asm/kvm_host.h    |   54 +++++
 arch/powerpc/include/asm/kvm_ppc.h     |    5 +-
 arch/powerpc/include/asm/mmu-44x.h     |    1 +
 arch/powerpc/kernel/asm-offsets.c      |   17 +-
 arch/powerpc/kvm/44x.c                 |   18 +-
 arch/powerpc/kvm/44x_emulate.c         |   11 +-
 arch/powerpc/kvm/44x_tlb.c             |  374 ++++++++++++++++++++------------
 arch/powerpc/kvm/44x_tlb.h             |    7 +-
 arch/powerpc/kvm/Kconfig               |   11 +
 arch/powerpc/kvm/Makefile              |    1 +
 arch/powerpc/kvm/booke.c               |   70 ++++---
 arch/powerpc/kvm/booke.h               |    5 +-
 arch/powerpc/kvm/booke_interrupts.S    |   72 ++----
 arch/powerpc/kvm/emulate.c             |    4 +
 arch/powerpc/kvm/powerpc.c             |    8 +-
 arch/powerpc/kvm/timing.c              |  239 ++++++++++++++++++++
 arch/powerpc/kvm/timing.h              |  102 +++++++++
 arch/s390/kvm/kvm-s390.c               |   39 ++--
 arch/x86/include/asm/kvm_host.h        |   11 +-
 arch/x86/include/asm/kvm_x86_emulate.h |    1 +
 arch/x86/kernel/kvmclock.c             |    8 +-
 arch/x86/kvm/mmu.c                     |  292 ++++++++++++++++++-------
 arch/x86/kvm/paging_tmpl.h             |   35 +++-
 arch/x86/kvm/vmx.c                     |    2 +-
 arch/x86/kvm/x86.c                     |    6 +-
 arch/x86/kvm/x86_emulate.c             |  285 +++++++++++++++----------
 virt/kvm/irq_comm.c                    |   21 +-
 virt/kvm/kvm_main.c                    |   43 +++-
 virt/kvm/kvm_trace.c                   |    1 +
 30 files changed, 1276 insertions(+), 493 deletions(-)
 create mode 100644 arch/powerpc/kvm/timing.c
 create mode 100644 arch/powerpc/kvm/timing.h