KVM: PPC: booke: Add booke206 TLB trace
authorLiu Yu <yu.liu@freescale.com>
Tue, 20 Dec 2011 14:42:56 +0000 (14:42 +0000)
committerAvi Kivity <avi@redhat.com>
Mon, 5 Mar 2012 12:52:40 +0000 (14:52 +0200)
commitd37b1a037cae725e69e5bf96f58544b69d7c93a6
tree73db07a65bd9ebbeae0e982cbb5291a047dddb38
parent82ed36164c8a8ee685ea3fb3c4f741214ac070ca
KVM: PPC: booke: Add booke206 TLB trace

The existing kvm_stlb_write/kvm_gtlb_write were a poor match for
the e500/book3e MMU -- mas1 was passed as "tid", mas2 was limited
to "unsigned int" which will be a problem on 64-bit, mas3/7 got
split up rather than treated as a single 64-bit word, etc.

Signed-off-by: Liu Yu <yu.liu@freescale.com>
[scottwood@freescale.com: made mas2 64-bit, and added mas8 init]
Signed-off-by: Scott Wood <scottwood@freescale.com>
Signed-off-by: Alexander Graf <agraf@suse.de>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/powerpc/kvm/e500_tlb.c
arch/powerpc/kvm/trace.h