]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: Avoid pipeline stalls on some MIPS32R2 cores.
authorSteven J. Hill <sjhill@mips.com>
Wed, 29 Aug 2012 04:20:08 +0000 (23:20 -0500)
committerSteven J. Hill <sjhill@mips.com>
Thu, 13 Sep 2012 20:43:52 +0000 (15:43 -0500)
commit27724c94f862fb3024d753e4bc99106186d5f994
treecda27e3f4b541e91d92788fa18985bfa20a6b119
parentad0ef2ab68c17635e83958b2dbad47ad884e2671
MIPS: Avoid pipeline stalls on some MIPS32R2 cores.

The architecture specification says that an EHB instruction is
needed to avoid a hazard when writing TLB entries. However, some
cores do not have this hazard, and thus the EHB instruction causes
a costly pipeline stall. Detect these cores and do not use the EHB
instruction.

Signed-off-by: Steven J. Hill <sjhill@mips.com>
arch/mips/mm/tlbex.c