Question about DBCR0 initialization for 440

Benjamin Herrenschmidt benh at
Sat Apr 18 05:04:47 EST 2009

On Fri, 2009-04-17 at 13:07 -0500, Hollis Blanchard wrote:
> On Friday 17 April 2009 12:22:37 Josh Boyer wrote:
> > On Fri, Apr 17, 2009 at 11:46 AM, John Linn <John.Linn at> wrote:
> > > Josh, any thoughts on putting this into head_44x.S?
> > 
> > The code in the fsl file looks like the right solution.  I do have an
> > odd question though, in that it's hard for the
> > kernel to really know if something like a BDI is running.  Namely,
> > that config option doesn't cover RiscWatch in an obvious manner.
> Yeah, setting DBCR0 would interfere with all JTAG probes. The ifdef meands you 
> can't support both a JTAG debugger and hardware breakpoints in the same 
> binary? Now that's an annoying restriction.

Might be worth checking if external debug is enabled, and override it
only if it's not.


More information about the Linuxppc-dev mailing list