public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/9] Post-PPC32 series v2
@ 2010-04-20  0:49 Alexander Graf
  2010-04-20  0:49 ` [PATCH 4/9] KVM: PPC: Make Alignment interrupts work again Alexander Graf
                   ` (4 more replies)
  0 siblings, 5 replies; 11+ messages in thread
From: Alexander Graf @ 2010-04-20  0:49 UTC (permalink / raw)
  To: kvm-ppc; +Cc: kvm

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(-)


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2010-04-21  9:44 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-04-20  0:49 [PATCH 0/9] Post-PPC32 series v2 Alexander Graf
2010-04-20  0:49 ` [PATCH 4/9] KVM: PPC: Make Alignment interrupts work again Alexander Graf
2010-04-20  0:49 ` [PATCH 6/9] KVM: PPC: Set VSID_PR also for Book3S_64 Alexander Graf
2010-04-20  0:49 ` [PATCH 7/9] KVM: PPC: Fix Book3S_64 Host MMU debug output Alexander Graf
     [not found] ` <1271724594-6223-1-git-send-email-agraf-l3A5Bk7waGM@public.gmane.org>
2010-04-20  0:49   ` [PATCH 1/9] KVM: PPC: Convert u64 -> ulong Alexander Graf
2010-04-20  0:49   ` [PATCH 2/9] KVM: PPC: Make Performance Counters work Alexander Graf
2010-04-20  0:49   ` [PATCH 3/9] KVM: PPC: Improve split mode Alexander Graf
2010-04-20  0:49   ` [PATCH 5/9] KVM: PPC: Be more informative on BUG Alexander Graf
2010-04-20  0:49   ` [PATCH 8/9] KVM: PPC: Find HTAB ourselves Alexander Graf
2010-04-20  0:49   ` [PATCH 9/9] KVM: PPC: Enable native paired singles Alexander Graf
2010-04-21  9:44 ` [PATCH 0/9] Post-PPC32 series v2 Avi Kivity

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox