MIPS: Sibyte: Apply M3 workaround only on affected chip types and versions.
commit1b4b25fb9a90f7fe755d47f0beb48da75ddcd38e
authorRalf Baechle <ralf@linux-mips.org>
Fri, 23 Apr 2010 01:56:38 +0000 (23 02:56 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 12 May 2010 21:57:17 +0000 (12 14:57 -0700)
tree93e18661608c34ab4a3ea2be79dbe487572b7d52
parent7443d2d252e4f958d080c629b593fb3836b215e5
MIPS: Sibyte: Apply M3 workaround only on affected chip types and versions.

(cherry picked from commit e65c7f33d75e977350ca350573d93c517ec02776)

Previously it was unconditionally used on all Sibyte family SOCs.  The
M3 bug has to be handled in the TLB exception handler which is extremly
performance sensitive, so this modification is expected to deliver around
2-3% performance improvment.  This is important as required changes to the
M3 workaround will make it more costly.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
arch/mips/include/asm/mach-sibyte/war.h
arch/mips/sibyte/sb1250/setup.c