From mboxrd@z Thu Jan 1 00:00:00 1970 Received: with ECARTIS (v1.0.0; list linux-mips); Tue, 02 May 2006 19:05:33 +0100 (BST) Received: from bender.bawue.de ([193.7.176.20]:25755 "HELO bender.bawue.de") by ftp.linux-mips.org with SMTP id S8133938AbWEBSFW (ORCPT ); Tue, 2 May 2006 19:05:22 +0100 Received: from lagash (unknown [194.74.144.146]) by bender.bawue.de (Postfix) with ESMTP id EBFBE44BCB; Tue, 2 May 2006 20:05:21 +0200 (MEST) Received: from ths by lagash with local (Exim 4.61) (envelope-from ) id 1FazEi-0001zm-7g; Tue, 02 May 2006 19:04:36 +0100 Date: Tue, 2 May 2006 19:04:36 +0100 From: Thiemo Seufer To: Franck Bui-Huu Cc: Ralf Baechle , linux-mips Subject: Re: [PATCH] Make interrupt handler works for all cases Message-ID: <20060502180436.GH5004@networkno.de> References: <20060502094123.GB4301@linux-mips.org> <20060502104441.GA5004@networkno.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.11+cvs20060403 Return-Path: X-Envelope-To: <"|/home/ecartis/ecartis -s linux-mips"> (uid 0) X-Orcpt: rfc822;linux-mips@linux-mips.org Original-Recipient: rfc822;linux-mips@linux-mips.org X-archive-position: 11279 X-ecartis-version: Ecartis v1.0.0 Sender: linux-mips-bounce@linux-mips.org Errors-to: linux-mips-bounce@linux-mips.org X-original-sender: ths@networkno.de Precedence: bulk X-list: linux-mips Franck Bui-Huu wrote: > 2006/5/2, Thiemo Seufer : > >Franck Bui-Huu wrote: > >> 2006/5/2, Ralf Baechle : > >> >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