summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJayachandran C <jchandra@broadcom.com>2015-01-07 16:58:35 +0530
committerRalf Baechle <ralf@linux-mips.org>2015-04-01 17:21:53 +0200
commit94e2b96ecea3ee2a3cbd5147fa380e05a6c4b4bc (patch)
treee76ca3ca5c27deb166f1823d731fa62c04eb7954
parent5084e93dfeebd171e0ad02cc7ea560364a7f80b3 (diff)
downloadlinux-94e2b96ecea3ee2a3cbd5147fa380e05a6c4b4bc.tar.gz
linux-94e2b96ecea3ee2a3cbd5147fa380e05a6c4b4bc.tar.bz2
linux-94e2b96ecea3ee2a3cbd5147fa380e05a6c4b4bc.zip
MIPS: Netlogic: Do not enable SUE for core
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>
-rw-r--r--arch/mips/netlogic/common/reset.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/netlogic/common/reset.S b/arch/mips/netlogic/common/reset.S
index e3e518974e0b..edbab9b8691f 100644
--- a/arch/mips/netlogic/common/reset.S
+++ b/arch/mips/netlogic/common/reset.S
@@ -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