Re: Kernel 2.6 for R4600 Indy

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux