linux-pci.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Oliver Neukum <oneukum@suse.de>
To: Sarah Sharp <sarah.a.sharp@linux.intel.com>
Cc: linux-usb@vger.kernel.org, linux-pci@vger.kernel.org
Subject: Re: failure of port switching to XHCI on PantherPoint on boot
Date: Fri, 3 Feb 2012 12:20:18 +0100	[thread overview]
Message-ID: <201202031220.18448.oneukum@suse.de> (raw)
In-Reply-To: <20120202191914.GA16955@xanatos>

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

      reply	other threads:[~2012-02-03 11:18 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [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 message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=201202031220.18448.oneukum@suse.de \
    --to=oneukum@suse.de \
    --cc=linux-pci@vger.kernel.org \
    --cc=linux-usb@vger.kernel.org \
    --cc=sarah.a.sharp@linux.intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).