]> 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)
commite0793d91dae27eba674d372c7435a79c97292370
treebd5fbc4d6d01fac8363be43b9038988f45c33e04
parent4e33f9dbb75753866f0a9f5e68556af1bc03c2d2
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