On Thu, Feb 02, 2012 at 09:20:02AM -0800, Sarah Sharp wrote: > On Thu, Feb 02, 2012 at 03:58:18PM +0100, Oliver Neukum wrote: > > Hi, > > > > I am observing a failure to switch ports to XHCI on boot, because the quirk > > handler bails out at quirk_usb_handoff_xhci(): > > > > if (!mmio_resource_enabled(pdev, 0)) > > return; > > > > spefically mmio_enabled(pdev) fails. This seems to be generic because > > I see it on all my test systems. The switch itself works. My devices go to XHCI > > after an S4. > > I have no idea why PCI MMIO wouldn't be enabled. Maybe a PCI or BIOS > issue? What does `sudo lspci -vvv` say about the xHCI host controller > revision, and what BIOS are you using? In particular, what BIOS settings do you have that relate to USB? Under my system's BIOS menu, I see USB options under Advanced -> USB and Advanced -> PCH-IO Configuration -> USB. Under the PCH USB options, do you have an option called "xHCI Mode"? If so, what is it set to? If it's set to "Disabled", try setting it to "Smart Auto" and see if that helps. Setting it to "Enabled" will cause the BIOS to put the ports under xHCI, but that's not usually on by default. I'm wondering if the BIOS is attempting to disable the xHCI PCI device for some reason. The xHCI driver really isn't designed to work with GPIO, it only does memory mapped I/O right now. Sarah Sharp -- To unsubscribe from this list: send the line "unsubscribe linux-pci" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html