Skip to contentSkip to conversation

failure of port switching to XHCI on PantherPoint on boot

DISCUSSION Sarah Sharp 2 participants 2 messages Feb 2, 2012 – Feb 3, 2012 2 messages not in the archive PCI

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): 20120202172002.GB5711@xanatos

#2 lore raw
Quoted 9 lines · Sarah Sharp
Quoted 8 lines · Oliver Neukum

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;

Quoted 7 lines
Quoted 3 lines

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

#3 lore raw

Am Donnerstag, 2. Februar 2012, 20:19:14 schrieb Sarah Sharp:

Quoted 14 lines · Sarah Sharp
Quoted 13 lines · Oliver Neukum
Quoted 11 lines

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.

Quoted 7 lines
Quoted 3 lines

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.

There is no such setting on this system.

Quoted 6 lines

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 reason is probably old versions of that OS.

Quoted 2 lines

The xHCI driver really isn't designed to work with GPIO, it only does memory mapped I/O right now.

Well and this works but only later. Is it possible that the quirk is simply called too early?. Shifting it later makes it work on my test systems.

Regards
Oliver