linux-mips
[Top] [All Lists]

[PATCH 04/15] MIPS: Netlogic: Enable SUE bit in cores

To: linux-mips@linux-mips.org, ralf@linux-mips.org
Subject: [PATCH 04/15] MIPS: Netlogic: Enable SUE bit in cores
From: "Jayachandran C" <jchandra@broadcom.com>
Date: Wed, 31 Oct 2012 18:31:30 +0530
Cc: "Jayachandran C" <jchandra@broadcom.com>
In-reply-to: <cover.1351688140.git.jchandra@broadcom.com>
List-archive: <http://www.linux-mips.org/archives/linux-mips/>
List-help: <mailto:ecartis@linux-mips.org?Subject=help>
List-id: linux-mips <linux-mips.eddie.linux-mips.org>
List-owner: <mailto:ralf@linux-mips.org>
List-post: <mailto:linux-mips@linux-mips.org>
List-software: Ecartis version 1.0.0
List-subscribe: <mailto:ecartis@linux-mips.org?subject=subscribe%20linux-mips>
List-unsubscribe: <mailto:ecartis@linux-mips.org?subject=unsubscribe%20linux-mips>
References: <cover.1351688140.git.jchandra@broadcom.com>
Sender: linux-mips-bounce@linux-mips.org
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>
---
 arch/mips/netlogic/common/smpboot.S |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/mips/netlogic/common/smpboot.S 
b/arch/mips/netlogic/common/smpboot.S
index a13355c..25c1825 100644
--- a/arch/mips/netlogic/common/smpboot.S
+++ b/arch/mips/netlogic/common/smpboot.S
@@ -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 */
-- 
1.7.9.5



<Prev in Thread] Current Thread [Next in Thread>