소스 검색

MIPS: Netlogic: Enable SUE bit in cores

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>
Jayachandran C 12 년 전
부모
커밋
5b47a4db1e
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      arch/mips/netlogic/common/smpboot.S

+ 1 - 1
arch/mips/netlogic/common/smpboot.S

@@ -61,7 +61,7 @@
 	li	t0, LSU_DEFEATURE
 	li	t0, LSU_DEFEATURE
 	mfcr	t1, t0
 	mfcr	t1, t0
 
 
-	lui	t2, 0x4080	/* Enable Unaligned Access, L2HPE */
+	lui	t2, 0xc080	/* SUE, Enable Unaligned Access, L2HPE */
 	or	t1, t1, t2
 	or	t1, t1, t2
 #ifdef XLP_AX_WORKAROUND
 #ifdef XLP_AX_WORKAROUND
 	li	t2, ~0xe	/* S1RCM */
 	li	t2, ~0xe	/* S1RCM */