KVM: PPC: e500: Disable preloading TLB1 in tlb_load().
authorScott Wood <scottwood@freescale.com>
Tue, 14 Jun 2011 23:34:34 +0000 (18:34 -0500)
committerAvi Kivity <avi@redhat.com>
Tue, 12 Jul 2011 10:16:33 +0000 (13:16 +0300)
commit6fc4d1eb911cced6bc103f2b36497397e99e8c43
treed0dc20dd4412525d05e2876e27f06918181d64b2
parent4cd35f675ba41a99a477e28a6add4a66833325f2
KVM: PPC: e500: Disable preloading TLB1 in tlb_load().

Since TLB1 loading doesn't check the shadow TLB before allocating another
entry, you can get duplicates.

Once shadow PIDs are enabled in a later patch, we won't need to
invalidate the TLB on every switch, so this optimization won't be
needed anyway.

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