Re: [linux-usb-devel] [PATCH] USB BIOS early handoff only when thewe the driver is configured

From: Greg KH
Date: Thu Aug 02 2007 - 12:41:02 EST


On Thu, Aug 02, 2007 at 10:32:21AM -0400, Alan Stern wrote:
> On Thu, 2 Aug 2007, David Engraf wrote:
>
> > This would be solution too, but what if someone uses the uhci controller
> > and don't want the
> > ehci. So a single Kconfig flag wouldn't be enough, we have to add 3
> > flags for uchi, ohci and
> > ehci. I think this maybe a little bit difficult when configuring the kernel.
> > The best solution would be when we could use the CONFIG_USB_xxxx_HCD
> > flag, but it
> > seems that some hardware has problems when we disable the handoff and
> > let the BIOS
> > control the usb controller. Do you know any of this hardware?
>
> The email messages are hidden in the depths of the linux-usb-devel
> archives. Maybe you can find them by checking the Git history for
> drivers/usb/host/pci-quirks.c, finding the dates for patches that
> affected the handoff code, and then searching through the archives near
> those dates.
>
> IIRC the problems arose on some MIPS machines. And I don't think the
> problem involved letting the firmware manage the USB controller; I
> think the problem came when the controller driver tried to do the
> handoff later on.

It wasn't just MIPS. IBM has a very popular blade system that has huge
issues with this, and I think there are some other IBM systems based on
the same BIOS that also do bad things if we don't grab the USB
controller away from the BIOS as soon as possible (nasty interrupt and
other messes happen...)

thanks,

greg k-h
-
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/