]> 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)
commit4343bb002eb24eab781db7281bd0d4d0b41cdf8c
tree6ac269ebbf1a23490854d038314bb9abc1dc1720
parenta831af4894e05658b20a4c01c5ad9f2e0933ef87
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