Re: remote debugging via FireWire

From: Benjamin Herrenschmidt
Date: Mon Feb 12 2007 - 02:29:53 EST


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.


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/