KVM: PPC: Book3S HV: Enable on little endian hosts
Status from this message: Applied to kvm-ppc-queue.
Get series with b4
b4 am [email protected]Versions newest first
v1 -> v2 from the cover letter
- 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
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/7 | PPC: Add asm helpers for BE 32bit load/storearch/ | +4 | 0 replies | |
| 2/7 | KVM: PPC: Book3S HV: Make HTAB code LE host awarearch/ arch/ arch/ +1 more | +164 | 0 replies | |
| 3/7 | KVM: PPC: Book3S HV: Access guest VPA in BEarch/ arch/ | +14 | 0 replies | |
| 4/7 | KVM: PPC: Book3S HV: Access host lppaca and shadow slb in BEarch/ | +10 | 0 replies | |
| 5/7 | KVM: PPC: Book3S HV: Access XICS in BEarch/ | +14 | 0 replies | |
| 6/7 | KVM: PPC: Book3S HV: Fix ABIv2 on LEarch/ | +14 | 3 replies | |
| 7/7 | KVM: PPC: Book3S HV: Enable for little endian hostsarch/ | +0 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/7] KVM: PPC: Book3S HV: Enable on little endian hosts
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(-)
Signature · 1 line
1.8.1.4