This patch series adds basic POWER8 support and support for
little-endian guests to HV KVM. The last patch implements support for
the H_SET_XDABR hcall for POWER7 guests. The series is against the
'next' branch of the kvm tree as of a couple of days ago, plus the two
bug-fix patches I posted recently ("Fix physical address calculations"
and "Refine barriers in guest entry/exit").
POWER8 adds several new guest-accessible instructions, special-purpose
registers, and other features such as doorbell interrupts and hardware
transactional memory. It also adds new hypervisor-controlled features
such as relocation-on interrupts, and replaces the DABR/DABRX
registers with the new DAWR/DAWRX registers with expanded
capabilities. The POWER8 CPU has compatibility modes for architecture
2.06 (POWER7/POWER7+) and 2.05 (POWER6).
This series does not include the support for saving and restoring the
transactional checkpointed state of the guest. For that, I need Ben's
for-kvm branch to be merged to bring in the "powerpc: Put FP/VSX and
VR state into structures" patch.
Paul.
---
Documentation/virtual/kvm/api.txt | 1 +
arch/powerpc/include/asm/hvcall.h | 6 +
arch/powerpc/include/asm/kvm_asm.h | 2 +
arch/powerpc/include/asm/kvm_book3s_asm.h | 1 +
arch/powerpc/include/asm/kvm_host.h | 31 +-
arch/powerpc/include/asm/kvm_ppc.h | 2 +
arch/powerpc/include/asm/reg.h | 44 ++-
arch/powerpc/include/uapi/asm/kvm.h | 3 +
arch/powerpc/kernel/asm-offsets.c | 30 +-
arch/powerpc/kvm/book3s_64_mmu_hv.c | 2 +-
arch/powerpc/kvm/book3s_hv.c | 342 ++++++++++++++++--
arch/powerpc/kvm/book3s_hv_interrupts.S | 8 +-
arch/powerpc/kvm/book3s_hv_rmhandlers.S | 580 ++++++++++++++++++++++--------
13 files changed, 863 insertions(+), 189 deletions(-)
--
To unsubscribe from this list: send the line "unsubscribe kvm-ppc" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html