kvm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/7] KVM: PPC: Book3S HV: Enable on little endian hosts
@ 2014-06-17 16:17 Alexander Graf
  2014-06-17 16:17 ` [PATCH 1/7] PPC: Add asm helpers for BE 32bit load/store Alexander Graf
                   ` (7 more replies)
  0 siblings, 8 replies; 12+ messages in thread
From: Alexander Graf @ 2014-06-17 16:17 UTC (permalink / raw)
  To: kvm-ppc; +Cc: kvm

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 - modulo bugs.

For now guest threading support is still slightly flaky, but I'm sure that's
only a minor breakage somewhere that we'll find soon.

v1 -> v2:

  - fix typo in STWX_BE
  - Add __be hints
  - Fix H_REMOVE
  - Fix dtl_idx
  - Make XICS code easier to follow and use memory for bswap

Alex

Alexander Graf (7):
  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: Fix ABIv2 on LE
  KVM: PPC: Book3S HV: Enable for little endian hosts

 arch/powerpc/include/asm/asm-compat.h    |   4 +
 arch/powerpc/include/asm/kvm_book3s.h    |   4 +-
 arch/powerpc/include/asm/kvm_book3s_64.h |  15 +++-
 arch/powerpc/kvm/Kconfig                 |   1 -
 arch/powerpc/kvm/book3s_64_mmu_hv.c      | 128 ++++++++++++++-------------
 arch/powerpc/kvm/book3s_hv.c             |  22 ++---
 arch/powerpc/kvm/book3s_hv_ras.c         |   6 +-
 arch/powerpc/kvm/book3s_hv_rm_mmu.c      | 146 ++++++++++++++++++-------------
 arch/powerpc/kvm/book3s_hv_rmhandlers.S  |  60 ++++++++-----
 9 files changed, 220 insertions(+), 166 deletions(-)

-- 
1.8.1.4

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2014-07-04  7:41 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-06-17 16:17 [PATCH 0/7] KVM: PPC: Book3S HV: Enable on little endian hosts Alexander Graf
2014-06-17 16:17 ` [PATCH 1/7] PPC: Add asm helpers for BE 32bit load/store Alexander Graf
2014-06-17 16:17 ` [PATCH 2/7] KVM: PPC: Book3S HV: Make HTAB code LE host aware Alexander Graf
2014-06-17 16:17 ` [PATCH 3/7] KVM: PPC: Book3S HV: Access guest VPA in BE Alexander Graf
2014-06-17 16:17 ` [PATCH 4/7] KVM: PPC: Book3S HV: Access host lppaca and shadow slb " Alexander Graf
2014-06-17 16:17 ` [PATCH 5/7] KVM: PPC: Book3S HV: Access XICS " Alexander Graf
2014-06-17 16:17 ` [PATCH 6/7] KVM: PPC: Book3S HV: Fix ABIv2 on LE Alexander Graf
2014-06-18 15:21   ` Aneesh Kumar K.V
2014-06-18 15:23     ` Alexander Graf
2014-06-24 13:34       ` [PATCH v3 " Alexander Graf
2014-06-17 16:17 ` [PATCH 7/7] KVM: PPC: Book3S HV: Enable for little endian hosts Alexander Graf
2014-07-04  7:41 ` [PATCH 0/7] KVM: PPC: Book3S HV: Enable on " Alexander Graf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).