From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15281 invoked by alias); 26 Oct 2007 14:42:06 -0000 Received: (qmail 15271 invoked by uid 22791); 26 Oct 2007 14:42:05 -0000 X-Spam-Check-By: sourceware.org Received: from waste.org (HELO waste.org) (66.93.16.53) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 26 Oct 2007 14:42:03 +0000 Received: from waste.org (localhost [127.0.0.1]) by waste.org (8.13.8/8.13.8/Debian-3) with ESMTP id l9QEfaQ8023878 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Fri, 26 Oct 2007 09:41:36 -0500 Received: (from oxymoron@localhost) by waste.org (8.13.8/8.13.8/Submit) id l9QEfYiv023870; Fri, 26 Oct 2007 09:41:34 -0500 Date: Fri, 26 Oct 2007 14:42:00 -0000 From: Matt Mackall To: Benjamin Herrenschmidt Cc: Grant Likely , gdb@sourceware.org, linuxppc-embedded@ozlabs.org Subject: Re: Apparent kernel bug with GDB on ppc405 Message-ID: <20071026144134.GW19691@waste.org> References: <20071024194640.GB19691@waste.org> <1193363202.7018.36.camel@pasglop> <1193369005.7018.46.camel@pasglop> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1193369005.7018.46.camel@pasglop> User-Agent: Mutt/1.5.13 (2006-08-11) X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2007-10/txt/msg00273.txt.bz2 On Fri, Oct 26, 2007 at 01:23:25PM +1000, Benjamin Herrenschmidt wrote: > > > This is actually 405. Does that have the same issue? > > hrm... I don't remember :-) There -is- something fishy about the icache > on 405 but I don't remember for sure. Try sticking an iccci in there and > tell us if that helps. I did. I stuck an iccci -and- a dccci loop in. I threw in the tlbia when I ran out of other ideas. And the tlbia + existing flush_icache_range appears to be sufficient (tested on a non-trivial app). According to my docs, the 405fx's icache is virtually indexed/physically mapped, while the dcache is phys/phys. -- Mathematics is the supreme nostalgia of our time.