PPC: KVM: Enable PR KVM on ppc64le
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest13 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/13 | KVM: PPC: Book3S PR: Implement LPCR ONE_REGarch/ arch/ arch/ | +14 | 0 replies | |
| 2/13 | KVM: PPC: Book3S: PR: Fix C/R bit settingarch/ arch/ | +3 | 1 reply | |
| 3/13 | KVM: PPC: Book3S_32: PR: Access HTAB in big endianarch/ | +10 | 0 replies | |
| 4/13 | KVM: PPC: Book3S_64 PR: Access HTAB in big endianarch/ | +7 | 0 replies | |
| 5/13 | KVM: PPC: Book3S_64 PR: Access shadow slb in big endianarch/ | +16 | 0 replies | |
| 6/13 | KVM: PPC: Book3S PR: Give guest control over MSR_LEarch/ | +1 | 0 replies | |
| 7/13 | KVM: PPC: Book3S PR: Default to big endian guestarch/ | +1 | 0 replies | |
| 8/13 | KVM: PPC: Book3S PR: PAPR: Access HTAB in big endianarch/ | +11 | 0 replies | |
| 9/13 | KVM: PPC: Book3S PR: PAPR: Access RTAS in big endianarch/ | +29 | 0 replies | |
| 10/13 | KVM: PPC: PR: Fill pvinfo hcall instructions in big endianarch/ | +8 | 0 replies | |
| 11/13 | KVM: PPC: Make shared struct aka magic page guest endianarch/ arch/ arch/ +15 more | +306 | 0 replies | |
| 12/13 | KVM: PPC: Book3S PR: Do dcbz32 patching with big endian instructionsarch/ arch/ | +3 | 0 replies | |
| 13/13 | KVM: PPC: Book3S: Move little endian conflict to HV KVMarch/ | +1 | 0 replies |
Reviews trailers per patch
1 of 13 patches has a Reviewed-by or Acked-by.
| Patch | Paul Mackerras |
|---|---|
| 1/13 | |
| 2/13 | A-b |
| 3/13 | |
| 4/13 | |
| 5/13 | |
| 6/13 | |
| 7/13 | |
| 8/13 | |
| 9/13 | |
| 10/13 | |
| 11/13 | |
| 12/13 | |
| 13/13 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 00/13] PPC: KVM: Enable PR KVM on ppc64le
During the enablement of ppc64le KVM has been kept unfixed. This patch set is the initial attempt to make all of KVM work on ppc64le hosts. It starts the effort by bringing PR KVM over.
With this patch set I am successfully able to run book3s_32 (BE) and book3s_64 (BE, LE) guests on a host ppc64le system.
Please bear in mind that this patch set does *not* implement POWER8 support, so if you're running on a POWER8 host you definitely want to pass in -cpu POWER7 and cross your fingers that the guest doesn't trigger a facility unavailable interrupt which we don't trap on yet.
Alex
Alexander Graf (13):
KVM: PPC: Book3S PR: Implement LPCR ONE_REG
KVM: PPC: Book3S: PR: Fix C/R bit setting
KVM: PPC: Book3S_32: PR: Access HTAB in big endian
KVM: PPC: Book3S_64 PR: Access HTAB in big endian
KVM: PPC: Book3S_64 PR: Access shadow slb in big endian
KVM: PPC: Book3S PR: Give guest control over MSR_LE
KVM: PPC: Book3S PR: Default to big endian guest
KVM: PPC: Book3S PR: PAPR: Access HTAB in big endian
KVM: PPC: Book3S PR: PAPR: Access RTAS in big endian
KVM: PPC: PR: Fill pvinfo hcall instructions in big endian
KVM: PPC: Make shared struct aka magic page guest endian
KVM: PPC: Book3S PR: Do dcbz32 patching with big endian instructions
KVM: PPC: Book3S: Move little endian conflict to HV KVM
arch/powerpc/include/asm/kvm_book3s.h | 4 +- arch/powerpc/include/asm/kvm_host.h | 3 + arch/powerpc/include/asm/kvm_ppc.h | 80 ++++++++++++++++++++++- arch/powerpc/kernel/asm-offsets.c | 2 + arch/powerpc/kvm/Kconfig | 2 +- arch/powerpc/kvm/book3s.c | 72 ++++++++++---------- arch/powerpc/kvm/book3s_32_mmu.c | 41 +++++++----- arch/powerpc/kvm/book3s_32_mmu_host.c | 4 +- arch/powerpc/kvm/book3s_64_mmu.c | 42 +++++++----- arch/powerpc/kvm/book3s_64_mmu_host.c | 4 +- arch/powerpc/kvm/book3s_64_slb.S | 33 +++++----- arch/powerpc/kvm/book3s_emulate.c | 28 ++++---- arch/powerpc/kvm/book3s_hv.c | 11 ++++ arch/powerpc/kvm/book3s_interrupts.S | 23 ++++++- arch/powerpc/kvm/book3s_paired_singles.c | 16 +++-- arch/powerpc/kvm/book3s_pr.c | 109 +++++++++++++++++++------------ arch/powerpc/kvm/book3s_pr_papr.c | 16 +++-- arch/powerpc/kvm/book3s_rtas.c | 29 ++++++++ arch/powerpc/kvm/emulate.c | 24 +++---- arch/powerpc/kvm/powerpc.c | 50 +++++++++++--- arch/powerpc/kvm/trace_pr.h | 2 +- 21 files changed, 410 insertions(+), 185 deletions(-)
Signature · 1 line
1.8.1.4