linux-mips
[Top] [All Lists]

[PATCH 02/12] MIPS: Netlogic: Fix low-level flush on core wakeup

To: linux-mips@linux-mips.org, ralf@linux-mips.org
Subject: [PATCH 02/12] MIPS: Netlogic: Fix low-level flush on core wakeup
From: "Jayachandran C" <jayachandranc@netlogicmicro.com>
Date: Fri, 13 Jul 2012 21:53:15 +0530
Cc: "Jayachandran C" <jayachandranc@netlogicmicro.com>
In-reply-to: <1342196605-4260-1-git-send-email-jayachandranc@netlogicmicro.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: <1342196605-4260-1-git-send-email-jayachandranc@netlogicmicro.com>
Sender: linux-mips-bounce@linux-mips.org
The L1D cache flush needs to be done for more iterations to ensure
that the cache is clean before waking up threads.

This change is experimental, but should not have any negative impact.

Signed-off-by: Jayachandran C <jayachandranc@netlogicmicro.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 7badf38..8c13cd9 100644
--- a/arch/mips/netlogic/common/smpboot.S
+++ b/arch/mips/netlogic/common/smpboot.S
@@ -84,7 +84,7 @@
        li      t0, LSU_DEBUG_DATA0
        li      t1, LSU_DEBUG_ADDR
        li      t2, 0           /* index */
-       li      t3, 0x200       /* loop count, 512 sets */
+       li      t3, 0x1000      /* loop count */
 1:
        sll     v0, t2, 5
        mtcr    zero, t0
-- 
1.7.9.5



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