linux-mips
[Top] [All Lists]

Re: [PATCH] Make interrupt handler works for all cases

To: Franck Bui-Huu <vagabon.xyz@gmail.com>
Subject: Re: [PATCH] Make interrupt handler works for all cases
From: Thiemo Seufer <ths@networkno.de>
Date: Tue, 2 May 2006 19:04:36 +0100
Cc: Ralf Baechle <ralf@linux-mips.org>, linux-mips <linux-mips@linux-mips.org>
In-reply-to: <cda58cb80605021048n14ec2aa5ldd27e0f9a6fceb8e@mail.gmail.com>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <cda58cb80605020055r2597bf3ds9fb380aab8cbf7b3@mail.gmail.com> <20060502094123.GB4301@linux-mips.org> <cda58cb80605020330hfd0352ds11f7f80603092cde@mail.gmail.com> <20060502104441.GA5004@networkno.de> <cda58cb80605021048n14ec2aa5ldd27e0f9a6fceb8e@mail.gmail.com>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.5.11+cvs20060403
Franck Bui-Huu wrote:
> 2006/5/2, Thiemo Seufer <ths@networkno.de>:
> >Franck Bui-Huu wrote:
> >> 2006/5/2, Ralf Baechle <ralf@linux-mips.org>:
> >> >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

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