From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from e34.co.us.ibm.com (e34.co.us.ibm.com [32.97.110.152]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "e34.co.us.ibm.com", Issuer "Equifax" (verified OK)) by ozlabs.org (Postfix) with ESMTPS id 4567CDDFB5 for ; Sat, 18 Apr 2009 06:55:46 +1000 (EST) Received: from d03relay02.boulder.ibm.com (d03relay02.boulder.ibm.com [9.17.195.227]) by e34.co.us.ibm.com (8.13.1/8.13.1) with ESMTP id n3HKrLAI026480 for ; Fri, 17 Apr 2009 14:53:21 -0600 Received: from d03av04.boulder.ibm.com (d03av04.boulder.ibm.com [9.17.195.170]) by d03relay02.boulder.ibm.com (8.13.8/8.13.8/NCO v9.2) with ESMTP id n3HKtg51204754 for ; Fri, 17 Apr 2009 14:55:42 -0600 Received: from d03av04.boulder.ibm.com (loopback [127.0.0.1]) by d03av04.boulder.ibm.com (8.12.11.20060308/8.13.3) with ESMTP id n3HKtffR012263 for ; Fri, 17 Apr 2009 14:55:42 -0600 Date: Fri, 17 Apr 2009 16:54:51 -0400 From: Josh Boyer To: John Linn Subject: Re: Question about DBCR0 initialization for 440 Message-ID: <20090417205451.GC3776@zod.rchland.ibm.com> References: <20090414203313.8D8F11BE8056@mail209-sin.bigfish.com> <20090417154628.43F859D0055@mail178-wa4.bigfish.com> <625fc13d0904171022u4d7d5d8cve0ccfb74cc31f554@mail.gmail.com> <200904171307.47734.hollisb@us.ibm.com> <1239995087.7210.19.camel@pasglop> <20090417203053.1D692F88052@mail119-dub.bigfish.com> <20090417203531.GB3776@zod.rchland.ibm.com> <20090417204133.36D4EB80057@mail167-dub.bigfish.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: <20090417204133.36D4EB80057@mail167-dub.bigfish.com> Cc: Tirumala Reddy Marri , Hollis Blanchard , linuxppc-dev@ozlabs.org List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Fri, Apr 17, 2009 at 02:41:26PM -0600, John Linn wrote: > > >> -----Original Message----- >> From: Josh Boyer [mailto:jwboyer@linux.vnet.ibm.com] >> Sent: Friday, April 17, 2009 2:36 PM >> To: John Linn >> Cc: grant.likely@secretlab.ca; Benjamin Herrenschmidt; >> linuxppc-dev@ozlabs.org; Hollis Blanchard; Tirumala Reddy Marri >> Subject: Re: Question about DBCR0 initialization for 440 >> >> On Fri, Apr 17, 2009 at 02:30:45PM -0600, John Linn wrote: >> >> > Might be worth checking if external debug is enabled, and >> >> override it >> >> > only if it's not. >> >> >> >> ppc440x5_um.pdf says that both can be enabled. >> >> >> > >> >The code that I started the thread with, from the fsl file, >> has conditional for the BDI around it. >> > >> >We think that we still need that conditional as the code is >> not Oring in the enable such that it would >> >disable external debug mode for the BDI. But we need it this >> way for our Xilinx pod. >> >> EDM is a read-only bit according to the docs I have. You >> can't set it (or >> clear it) at all. It's only set by external hardware. > >That's strange, my 440x4_um.pdf does not say it's read-only unless it's >in some obscure place. Gah. I think that was my mistake. I don't see that in x4 or x5 manuals, but it came up on IRC. josh