linux-pci.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: failure of port switching to XHCI on PantherPoint on boot
       [not found] ` <20120202172002.GB5711@xanatos>
@ 2012-02-02 19:19   ` Sarah Sharp
  2012-02-03 11:20     ` Oliver Neukum
  0 siblings, 1 reply; 2+ messages in thread
From: Sarah Sharp @ 2012-02-02 19:19 UTC (permalink / raw)
  To: Oliver Neukum; +Cc: linux-usb, linux-pci

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: failure of port switching to XHCI on PantherPoint on boot
  2012-02-02 19:19   ` failure of port switching to XHCI on PantherPoint on boot Sarah Sharp
@ 2012-02-03 11:20     ` Oliver Neukum
  0 siblings, 0 replies; 2+ messages in thread
From: Oliver Neukum @ 2012-02-03 11:20 UTC (permalink / raw)
  To: Sarah Sharp; +Cc: linux-usb, linux-pci

Am Donnerstag, 2. Februar 2012, 20:19:14 schrieb Sarah Sharp:
> 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.

There is no such setting on this system.

> 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.

> 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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-02-03 11:18 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <201202021558.18427.oneukum@suse.de>
     [not found] ` <20120202172002.GB5711@xanatos>
2012-02-02 19:19   ` failure of port switching to XHCI on PantherPoint on boot Sarah Sharp
2012-02-03 11:20     ` Oliver Neukum

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).