Skip to content

Post-PPC32 series v2

Alexander Graf kvm kvm-ppc 1 version Applied

Status from this message: Applied all, thanks.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 of 9 patches 1 replyApplied

v1 -> v2 from the cover letter

- add paired single patch
- move WARN bailing to the correct patch

3 of 9 patches are in this archive. The cover letter announces 9.

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
4/9KVM: PPC: Make Alignment interrupts work againarch/powerpc/kvm/book3s_segment.S+2 -00 replies
6/9KVM: PPC: Set VSID_PR also for Book3S_64arch/powerpc/kvm/book3s_64_mmu.c+3 -00 replies
7/9KVM: PPC: Fix Book3S_64 Host MMU debug outputarch/powerpc/kvm/book3s_64_mmu_host.c+12 -80 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/9] Post-PPC32 series v2

While working with the PPC32 host target we finally have I stumbled over several things. Thanks to the now possible performance measurements I also tracked down split mode as one of the major slowdowns to KVM.

What's left now that slows us down is the normal flushing code that needs to move to a table based lookup and instruction emulation. On PPC32 guests we waste about 70% of our time on emulating mfmsr, mtmsr, mfsprg, mtsprg and friends.

Either way - this patch series deprecates the former performance counter and u64 patch.

Avi / Marcelo, please apply the former series and this series. Ignore the two patches in between.

v1 -> v2:

- add paired single patch
- move WARN bailing to the correct patch

Alexander Graf (9):
KVM: PPC: Convert u64 -> ulong
KVM: PPC: Make Performance Counters work
KVM: PPC: Improve split mode
KVM: PPC: Make Alignment interrupts work again
KVM: PPC: Be more informative on BUG
KVM: PPC: Set VSID_PR also for Book3S_64
KVM: PPC: Fix Book3S_64 Host MMU debug output
KVM: PPC: Find HTAB ourselves
KVM: PPC: Enable native paired singles

 arch/powerpc/include/asm/kvm_asm.h    |    1 +
 arch/powerpc/include/asm/kvm_book3s.h |   13 +++----
 arch/powerpc/include/asm/kvm_host.h   |    6 ++--
 arch/powerpc/kernel/ppc_ksyms.c       |    5 ---
 arch/powerpc/kvm/book3s.c             |   56 +++++++++++++++++++++++----------
 arch/powerpc/kvm/book3s_32_mmu.c      |   27 +++++++++------
 arch/powerpc/kvm/book3s_32_mmu_host.c |   29 +++++++++-------
 arch/powerpc/kvm/book3s_64_mmu.c      |   34 ++++++++++++--------
 arch/powerpc/kvm/book3s_64_mmu_host.c |   36 +++++++++++++-------
 arch/powerpc/kvm/book3s_emulate.c     |    5 ++-
 arch/powerpc/kvm/book3s_interrupts.S  |    2 +
 arch/powerpc/kvm/book3s_segment.S     |    2 +
 12 files changed, 132 insertions(+), 84 deletions(-)