linux-mips
[Top] [All Lists]

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

To: "Thiemo Seufer" <ths@networkno.de>
Subject: Re: [PATCH] Make interrupt handler works for all cases
From: "Franck Bui-Huu" <vagabon.xyz@gmail.com>
Date: Thu, 4 May 2006 20:34:18 +0200
Cc: "Ralf Baechle" <ralf@linux-mips.org>, linux-mips <linux-mips@linux-mips.org>
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=keiYSPhCOzg8cvq6TcK3URUoZKqFg+gX5YGAC07hya5kRIlLMhcQmQouQQkQKm9l+gwBErK37OZZjEnEVJFmbGyHII4Uuv/nVP+/0Sj1kHhNvfz4+dLCYddHaanFKQjWErpA/VWga7+9gydNxPDlhbBnL8+cRJU3d9xOOJAcai4=
In-reply-to: <20060502180436.GH5004@networkno.de>
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> <20060502180436.GH5004@networkno.de>
Sender: linux-mips-bounce@linux-mips.org
2006/5/2, Thiemo Seufer <ths@networkno.de>:
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.)


I have assumed the same for r4k cpu and it seems to work fine...
Anyways, Ralf can you apply this patch ?

Thanks
--
              Franck

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