Re: remote debugging via FireWire

Benjamin Herrenschmidt
2007-02-12T07:29:37Z

On Mon, 2007-02-12 at 07:49 +0100, Andi Kleen wrote:
> On Sunday 11 February 2007 22:35, Benjamin Herrenschmidt wrote:
>
> > I'd like to have that on ppc as well, so I'd rather keep it in drivers/
>
> This will need some abstraction at least -- there are some early mapping hacks
> that are x86 specific right now.

Either abstraction or ifdef's .. we have ioremap working very early on
ppc :-)

> > I agree that it doesn't need to be a module. If you can load modules,
> > then you can load the full ohci driver. Thus, if it's an early thingy
> > initialized by arch, it can export a special "takeover" hook that the
> > proper ohci module can then call to override it (important if we start
> > having an irq handler).
> >
> > Andi, also, how do you deal with iommu ? Not at all ? :-)
>
> Yes -- it's really early debugging hack mostly. It's reasonable to
> let the iommu be disabled (or later a special bypass can be added for this)

Ok.

Ben.