MIPS: Netlogic: Enable SUE bit in cores
authorJayachandran C <jchandra@broadcom.com>
Wed, 31 Oct 2012 12:01:30 +0000 (12:01 +0000)
committerJohn Crispin <blogic@openwrt.org>
Fri, 9 Nov 2012 10:37:18 +0000 (11:37 +0100)
Enable Speculative Unmap Enable bit, which will enable speculative L2
cache requests for unmapped memory. This should give better performance
for kernel code/data which is in KSEG0

Signed-off-by: Jayachandran C <jchandra@broadcom.com>
Patchwork: http://patchwork.linux-mips.org/patch/4461
Signed-off-by: John Crispin <blogic@openwrt.org>
arch/mips/netlogic/common/smpboot.S

index a13355c..25c1825 100644 (file)
@@ -61,7 +61,7 @@
        li      t0, LSU_DEFEATURE
        mfcr    t1, t0
 
-       lui     t2, 0x4080      /* Enable Unaligned Access, L2HPE */
+       lui     t2, 0xc080      /* SUE, Enable Unaligned Access, L2HPE */
        or      t1, t1, t2
 #ifdef XLP_AX_WORKAROUND
        li      t2, ~0xe        /* S1RCM */