KVM: PPC: e500: don't use MAS0 as intermediate storage.
authorScott Wood <scottwood@freescale.com>
Tue, 14 Jun 2011 23:34:35 +0000 (18:34 -0500)
committerAvi Kivity <avi@redhat.com>
Tue, 12 Jul 2011 10:16:34 +0000 (13:16 +0300)
commit0ef309956cecbaf6d96c31371bf393c296886fa6
tree6ac269ebbf1a23490854d038314bb9abc1dc1720
parent6fc4d1eb911cced6bc103f2b36497397e99e8c43
KVM: PPC: e500: don't use MAS0 as intermediate storage.

This avoids races.  It also means that we use the shadow TLB way,
rather than the hardware hint -- if this is a problem, we could do
a tlbsx before inserting a TLB0 entry.

Signed-off-by: Scott Wood <scottwood@freescale.com>
Signed-off-by: Alexander Graf <agraf@suse.de>
arch/powerpc/kvm/e500_tlb.c