Skip to content

Commit

Permalink
MIPS: Netlogic: Enable SUE bit in cores
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Jayachandran C authored and John Crispin committed Nov 9, 2012
1 parent d650484 commit 5b47a4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/mips/netlogic/common/smpboot.S
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit 5b47a4d

Please sign in to comment.