[PULL 00/52] ppc patch queue 2012-01-13

Alexander Graf
2012-01-13T14:31:03Z

Hi Avi,

This is my current patch queue for ppc. Please pull.

Alex

The following changes since commit 188fc33198ddb1469562d40de33bcc29e7e2ed5f:
Christian Borntraeger (1):
kvm-s390: provide access guest registers via kvm_run

are available in the git repository at:

git://github.com/agraf/linux-2.6.git for-upstream

Alexander Graf (9):
KVM: PPC: E500: Support hugetlbfs
KVM: PPC: Book3s: PR: Disable preemption in vcpu_run
KVM: PPC: Book3s: PR: No irq_disable in vcpu_run
KVM: PPC: Use get/set for to_svcpu to help preemption
KVM: PPC: align vcpu_kick with x86
KVM: PPC: Book3S: PR: Fix signal check race
KVM: PPC: Add generic single register ioctls
KVM: PPC: Add support for explicit HIOR setting
KVM: PPC: Rename MMIO register identifiers

Bharat Bhushan (3):
PPC: Fix race in mtmsr paravirt implementation
Fix DEC truncation for greater than 0xffff_ffff/1000
KVM: booke: Do Not start decrementer when SPRN_DEC set 0

Liu Yu (1):
KVM: PPC: booke: Add booke206 TLB trace

Liu Yu-B13201 (1):
KVM: PPC: Avoid patching paravirt template code

Matt Evans (2):
KVM: PPC: Fix vcpu_create dereference before validity check.
KVM: PPC: Add KVM_CAP_NR_VCPUS and KVM_CAP_MAX_VCPUS

Paul Mackerras (18):
KVM: PPC: Make wakeups work again for Book3S HV guests
KVM: PPC: Keep a record of HV guest view of hashed page table entries
KVM: PPC: Keep page physical addresses in per-slot arrays
KVM: PPC: Add an interface for pinning guest pages in Book3s HV guests
KVM: PPC: Make the H_ENTER hcall more reliable
KVM: PPC: Only get pages when actually needed, not in prepare_memory_region()
KVM: PPC: Allow use of small pages to back Book3S HV guests
KVM: PPC: Allow I/O mappings in memory slots
KVM: PPC: Maintain a doubly-linked list of guest HPTEs for each gfn
KVM: PPC: Implement MMIO emulation support for Book3S HV guests
KVM: PPC: Implement MMU notifiers for Book3S HV guests
KVM: Add barriers to allow mmu_notifier_retry to be used locklessly
KVM: PPC: Allow for read-only pages backing a Book3S HV guest
KVM: PPC: Book3S HV: Keep HPTE locked when invalidating
KVM: PPC: Book3s HV: Maintain separate guest and host views of R and C bits
KVM: PPC: Book3S HV: Use the hardware referenced bit for kvm_age_hva
KVM: PPC: Book3s HV: Implement get_dirty_log using hardware changed bit
KVM: PPC: Move kvm_vcpu_ioctl_[gs]et_one_reg down to platform-specific code

Sasha Levin (1):
KVM: PPC: Use the vcpu kmem_cache when allocating new VCPUs

Scott Wood (17):
KVM: PPC: e500: don't translate gfn to pfn with preemption disabled
KVM: PPC: e500: Eliminate preempt_disable in local_sid_destroy_all
KVM: PPC: e500: clear up confusion between host and guest entries
KVM: PPC: e500: MMU API
KVM: PPC: e500: tlbsx: fix tlb0 esel
KVM: PPC: e500: Don't hardcode PIR=0
KVM: PPC: booke: check for signals in kvmppc_vcpu_run
KVM: PPC: Rename deliver_interrupts to prepare_to_enter
KVM: PPC: Move prepare_to_enter call site into subarch code
KVM: PPC: booke: Check for MSR[WE] in prepare_to_enter
KVM: PPC: booke: Fix int_pending calculation for MSR[EE] paravirt
KVM: PPC: booke: Paravirtualize wrtee
KVM: PPC: Paravirtualize SPRG4-7, ESR, PIR, MASn
KVM: PPC: booke: Improve timer register emulation
KVM: PPC: e500: Fix TLBnCFG in KVM_CONFIG_TLB
KVM: PPC: e500: use hardware hint when loading TLB0 entries
KVM: PPC: refer to paravirt docs in header file

Documentation/virtual/kvm/api.txt | 121 ++++-
Documentation/virtual/kvm/ppc-pv.txt | 24 +-
arch/powerpc/include/asm/kvm.h | 44 ++-
arch/powerpc/include/asm/kvm_book3s.h | 98 +++-
arch/powerpc/include/asm/kvm_book3s_32.h | 6 +-
arch/powerpc/include/asm/kvm_book3s_64.h | 180 ++++++-
arch/powerpc/include/asm/kvm_e500.h | 52 ++-
arch/powerpc/include/asm/kvm_host.h | 79 +++-
arch/powerpc/include/asm/kvm_para.h | 41 ++-
arch/powerpc/include/asm/kvm_ppc.h | 15 +-
arch/powerpc/include/asm/mmu-book3e.h | 6 +-
arch/powerpc/include/asm/mmu-hash64.h | 2 +-
arch/powerpc/include/asm/ppc-opcode.h | 4 +-
arch/powerpc/include/asm/reg.h | 5 +
arch/powerpc/kernel/asm-offsets.c | 16 +-
arch/powerpc/kernel/exceptions-64s.S | 8 +-
arch/powerpc/kernel/kvm.c | 307 +++++++++--
arch/powerpc/kernel/kvm_emul.S | 112 +++-
arch/powerpc/kvm/Kconfig | 1 +
arch/powerpc/kvm/book3s.c | 57 +--
arch/powerpc/kvm/book3s_32_mmu_host.c | 21 +-
arch/powerpc/kvm/book3s_64_mmu_host.c | 66 ++-
arch/powerpc/kvm/book3s_64_mmu_hv.c | 900 ++++++++++++++++++++++++++++--
arch/powerpc/kvm/book3s_emulate.c | 8 +-
arch/powerpc/kvm/book3s_hv.c | 459 ++++++++++------
arch/powerpc/kvm/book3s_hv_rm_mmu.c | 854 ++++++++++++++++++++++------
arch/powerpc/kvm/book3s_hv_rmhandlers.S | 176 +++++-
arch/powerpc/kvm/book3s_paired_singles.c | 9 +-
arch/powerpc/kvm/book3s_pr.c | 178 +++++-
arch/powerpc/kvm/booke.c | 150 ++++--
arch/powerpc/kvm/booke.h | 4 +
arch/powerpc/kvm/booke_emulate.c | 23 +-
arch/powerpc/kvm/booke_interrupts.S | 18 +-
arch/powerpc/kvm/e500.c | 28 +-
arch/powerpc/kvm/e500_emulate.c | 38 +-
arch/powerpc/kvm/e500_tlb.c | 775 ++++++++++++++++++--------
arch/powerpc/kvm/e500_tlb.h | 80 +--
arch/powerpc/kvm/emulate.c | 61 ++-
arch/powerpc/kvm/powerpc.c | 128 ++++--
arch/powerpc/kvm/trace.h | 62 ++-
arch/powerpc/mm/hugetlbpage.c | 2 +
include/linux/kvm.h | 54 ++
include/linux/kvm_host.h | 14 +-
virt/kvm/kvm_main.c | 6 +-
44 files changed, 4165 insertions(+), 1127 deletions(-)