[PATCH 0/6] KVM: PPC: Book3S HV: Enable on little endian hosts

Alexander Graf
2014-06-11T10:33:45Z

So far we've been able to successfully run HV KVM on big endian hosts, but
once you dive into little endian land things start to fall apart.

This patch set enables HV KVM for little endian hosts. This should be the
final piece left missing to get little endian systems fully en par with big
endian ones in the KVM world.

Alex

Alexander Graf (6):
PPC: Add asm helpers for BE 32bit load/store
KVM: PPC: Book3S HV: Make HTAB code LE host aware
KVM: PPC: Book3S HV: Access guest VPA in BE
KVM: PPC: Book3S HV: Access host lppaca and shadow slb in BE
KVM: PPC: Book3S HV: Access XICS in BE
KVM: PPC: Book3S HV: Enable for little endian hosts

arch/powerpc/include/asm/asm-compat.h | 4 ++
arch/powerpc/include/asm/kvm_book3s_64.h | 14 +++-
arch/powerpc/kvm/Kconfig | 1 -
arch/powerpc/kvm/book3s_64_mmu_hv.c | 95 +++++++++++++-------------
arch/powerpc/kvm/book3s_hv.c | 16 ++---
arch/powerpc/kvm/book3s_hv_ras.c | 6 +-
arch/powerpc/kvm/book3s_hv_rm_mmu.c | 111 ++++++++++++++++++-------------
arch/powerpc/kvm/book3s_hv_rmhandlers.S | 37 +++++++----
8 files changed, 166 insertions(+), 118 deletions(-)

--
1.8.1.4