Re: [PATCH] Further TLB handler optimizations

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

 



Thiemo Seufer wrote:
> Rojhalat Ibrahim wrote:
> > Thiemo Seufer wrote:
> > >
> > >I updated the patch now and checked it in. Please test, especially
> > >for cases I couldn't do, like R3000-style TLB handling and MIPS32
> > >CPUs with 64bit physaddr.
> > >
> > 
> > My Yosemite board (RM9000 processor) does not boot anymore with
> > CONFIG_64BIT_PHYS_ADDR. Without that option it seems to be working
> > as before. I tried to define cpu_has_64bit_gp_regs.
> 
> Correct, this should always be defined for 64bit capable CPUs.
> 
> > With that it boots partly.
> 
> Where does it fail?

It's probably caused by the bug I just found. Please try the appended
patch and tell me if it changes something for you.


Thiemo


Index: arch/mips/mm/tlbex.c
===================================================================
RCS file: /home/cvs/linux/arch/mips/mm/tlbex.c,v
retrieving revision 1.14
diff -u -p -r1.14 tlbex.c
--- arch/mips/mm/tlbex.c	8 Jan 2005 15:03:53 -0000	1.14
+++ arch/mips/mm/tlbex.c	10 Jan 2005 14:23:38 -0000
@@ -1324,8 +1324,9 @@ iPTE_SW(u32 **p, struct reloc **r, unsig
 		/* no i_nop needed */
 		i_lw(p, pte, 0, ptr);
 	} else
-# else
 		i_nop(p);
+# else
+	i_nop(p);
 # endif
 #else
 # ifdef CONFIG_64BIT_PHYS_ADDR


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

  Powered by Linux