Franck Bui-Huu wrote: > 2006/5/2, Thiemo Seufer <ths@xxxxxxxxxxxx>: > >Franck Bui-Huu wrote: > >> 2006/5/2, Ralf Baechle <ralf@xxxxxxxxxxxxxx>: > >> >On Tue, May 02, 2006 at 09:55:51AM +0200, Franck Bui-Huu wrote: > >> > > >> >> specially when the kernel is mapped. > >> > > >> >At which time you're on very fragile ice because TLB instructions should > >> >better be executed from an unmapped address ... > >> > > >> > >> well TLB entry used by the kernel is wired, so it should work fined, > >> shouldn't it ? > > > >The architecture spec doesn't guarantee it will. > > having a quick look at the TLB handling code, it seems that the code > assumes it will... I don't know which code you are looking at, but the kernel's TLB handling doesn't run in mapped space. (The ip27 is an exception, I assume the R1x000 allows for mapped TLB handling.) Thiemo