MIPS: Netlogic: Do not enable SUE for core
authorJayachandran C <jchandra@broadcom.com>
Wed, 7 Jan 2015 11:28:35 +0000 (16:58 +0530)
committerRalf Baechle <ralf@linux-mips.org>
Wed, 1 Apr 2015 15:21:53 +0000 (17:21 +0200)
Enabling the SUE bit for core can can result in rare cache errors
which are difficult to track down, so do not enable it. This can
cause a minor performance loss in some tests.

Signed-off-by: Jayachandran C <jchandra@broadcom.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/8894/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/netlogic/common/reset.S

index e3e518974e0b4f32a3a0bf93bcb825d001658807..edbab9b8691fe377a01c9d2ba64aa7a69923b1a6 100644 (file)
@@ -60,7 +60,7 @@
        li      t0, LSU_DEFEATURE
        mfcr    t1, t0
 
-       lui     t2, 0xc080      /* SUE, Enable Unaligned Access, L2HPE */
+       lui     t2, 0x4080      /* Enable Unaligned Access, L2HPE */
        or      t1, t1, t2
        mtcr    t1, t0