OSDN Git Service

powerpc/e6500: Work around erratum A-008139
authorScott Wood <scottwood@freescale.com>
Wed, 11 Jun 2014 21:09:32 +0000 (16:09 -0500)
committerScott Wood <scottwood@freescale.com>
Wed, 30 Jul 2014 00:26:29 +0000 (19:26 -0500)
commit48cd9b5d590aee1664170968a9eae068e36761eb
treebd5fbc4d6d01fac8363be43b9038988f45c33e04
parente16c8765533a155ebd3d7c36fc80440a03bbf46a
powerpc/e6500: Work around erratum A-008139

Erratum A-008139 can cause duplicate TLB entries if an indirect
entry is overwritten using tlbwe while the other thread is using it to
do a lookup.  Work around this by using tlbilx to invalidate prior
to overwriting.

To avoid the need to save another register to hold MAS1 during the
workaround code, TID clearing has been moved from tlb_miss_kernel_e6500
until after the SMT section.

Signed-off-by: Scott Wood <scottwood@freescale.com>
arch/powerpc/mm/tlb_low_64e.S