Skip to content

Post-PPC32 series

Alexander Graf kvm kvm-ppc 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 of 8 patches 4 repliesIn review

6 of 8 patches are in this archive. The cover letter announces 8.

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8KVM: PPC: Convert u64 -> ulongarch/powerpc/include/asm/kvm_book3s.h arch/powerpc/include/asm/kvm_host.h arch/powerpc/kvm/book3s.c +4 more+19 -210 replies
2/8KVM: PPC: Make Performance Counters workarch/powerpc/kvm/book3s.c arch/powerpc/kvm/book3s_interrupts.S+5 -00 replies
3/8KVM: PPC: Improve split modearch/powerpc/include/asm/kvm_book3s.h arch/powerpc/kvm/book3s.c arch/powerpc/kvm/book3s_32_mmu.c +1 more+46 -390 replies
4/8KVM: PPC: Make Alignment interrupts work againarch/powerpc/kvm/book3s_segment.S+2 -00 replies
5/8KVM: PPC: Be more informative on BUGarch/powerpc/kvm/book3s_64_mmu_host.c+7 -24 replies
6/8KVM: PPC: Set VSID_PR also for Book3S_64arch/powerpc/kvm/book3s_64_mmu.c+3 -00 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/8] Post-PPC32 series

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.

Alexander Graf (8):
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

 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             |   37 +++++++++++++++++---------------
 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_interrupts.S  |    2 +
 arch/powerpc/kvm/book3s_segment.S     |    2 +
 10 files changed, 108 insertions(+), 83 deletions(-)