]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit1c0fc15a6475fee9c08593c93366d9ebfc59fe83
tree6ac269ebbf1a23490854d038314bb9abc1dc1720
parente7ad3d4cdb14bfd0671c383908bb91175d1b5b71
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