]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf3cadca23df66201ab06dd49ff9a77922bf7b264
treebd5fbc4d6d01fac8363be43b9038988f45c33e04
parent384ad715b68a1e1708295291ee7e159f5c9b3061
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