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(-) -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html