> On Fri, Sep 14, 2007 at 05:53:58PM -0600, Robert Hancock wrote:
> > In the first one, Linus talks about a USB controller whose SMM code
> > chokes on the BAR being disabled. That explanation seems odd to me. If
> > it chokes on the BAR disabled, how doesn't it choke on the BAR being
> > moved to a different location, which is unavoidable during probing?
>
> Here is an article with detailed explanation of that USB issue:
>
>
http://support.microsoft.com/kb/250635
>
> The most interesting fact there is that windows *does not* clear
> PCI_COMMAND_MEMORY bits during PCI bus enumeration, so BIOS writers
> have to rely on that. Yet another reason why your patch is unsafe.
>
> > Also, I think we do USB handoff from the BIOS much earlier than we used
> > to, which likely prevents these issues.
>
> I don't think so. This can only be done in USB driver, which cannot run
> before PCI device discovery.