[PATCH] Handle I-TLB Error and Miss separately on 8xx

Joakim Tjernlund joakim.tjernlund at lumentis.se
Sat Jan 15 06:51:44 EST 2005


> 
> On Fri, Jan 14, 2005 at 06:56:58PM +0100, Joakim Tjernlund wrote:
> > > > Your patch will fix this. 
> > > > I havn't seen it go in yet, will you submit the patch to Linus/Marcelo?
> > > 
> > > I was hoping Marcelo would pick this up since I thought he was on the
> > > list.  I'll re-poke him.  For 2.6, the app in question crashes
> > > differently, prior to hitting this bug, but I do want to get it pushed
> > > out.  I've just been swamped lately.
> > 
> > Is 2.6 on 8xx stable for you(except for this app)? I was under the impression that
> > 2.6 was a bit flaky due to an unidentified MM bug.
> 
> No, I don't believe it's very stable (this wa the first chance I've had
> in a while to fire up my rpxlite).

BTW, there is a simpler fix to the TLB Miss problem.
In the TLB Miss handlers, just move the 2: label a few instr. upwards to
the same line as the "li	r21, 0x00f0". That way you will force a 
TLB error. You can do this for both Data and Instr. Miss handlers.
The code after where the 2: label used to be can be deleted. 

 Jocke



More information about the Linuxppc-embedded mailing list