Commit 94e2b96e authored by Jayachandran C's avatar Jayachandran C Committed by Ralf Baechle

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: default avatarJayachandran C <jchandra@broadcom.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/8894/Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
parent 5084e93d
...@@ -60,7 +60,7 @@ ...@@ -60,7 +60,7 @@
li t0, LSU_DEFEATURE li t0, LSU_DEFEATURE
mfcr t1, t0 mfcr t1, t0
lui t2, 0xc080 /* SUE, Enable Unaligned Access, L2HPE */ lui t2, 0x4080 /* Enable Unaligned Access, L2HPE */
or t1, t1, t2 or t1, t1, t2
mtcr t1, t0 mtcr t1, t0
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment