linux-mips
[Top] [All Lists]

Re: Kernel 2.6 for R4600 Indy

To: linux-mips@linux-mips.org
Subject: Re: Kernel 2.6 for R4600 Indy
From: Thiemo Seufer <ica2_ts@csv.ica.uni-stuttgart.de>
Date: Sun, 3 Oct 2004 01:47:47 +0200
Cc: ralf@linux-mips.org
In-reply-to: <20041002204014.GO21351@rembrandt.csv.ica.uni-stuttgart.de>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <4152D58B.608@longlandclan.hopto.org> <20040923154855.GA2550@paradigm.rfc822.org> <20041002185057.GN21351@rembrandt.csv.ica.uni-stuttgart.de> <20041002204014.GO21351@rembrandt.csv.ica.uni-stuttgart.de>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.5.6i
Thiemo Seufer wrote:
[snip]
> One more nop is enough to make it work. This should probably go in
> a hazard definition.

Same for 64bit kernels.


Thiemo


Index: arch/mips/mm/tlbex64-r4k.S
===================================================================
RCS file: /home/cvs/linux/arch/mips/mm/tlbex64-r4k.S,v
retrieving revision 1.6
diff -u -p -r1.6 tlbex64-r4k.S
--- arch/mips/mm/tlbex64-r4k.S  15 Aug 2004 09:40:01 -0000      1.6
+++ arch/mips/mm/tlbex64-r4k.S  2 Oct 2004 23:45:14 -0000
@@ -116,6 +118,7 @@ LEAF(handle_vec1_r4k)
        PTE_RELOAD k0 k1
        mtc0_tlbw_hazard
        tlbwr
+       nop
        tlbw_eret_hazard
        eret
 
@@ -128,7 +131,8 @@ LEAF(handle_vec1_r4k)
        ld      k1, 8(k1)                       # get odd pte
        PTE_RELOAD k0 k1
        mtc0_tlbw_hazard
-        tlbwr
+       tlbwr
+       nop
        tlbw_eret_hazard
        eret
 END(handle_vec1_r4k)

Attachment: signature.asc
Description: Digital signature

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