Re: [RFC PATCH v2] xhci: Prevent runtime pm from autosuspending during initialization

2014-02-28 Thread Dan Williams
On Fri, Feb 28, 2014 at 1:57 PM, Greg KH wrote: > On Fri, Feb 28, 2014 at 12:41:31PM -0800, Dan Williams wrote: >> On Fri, Feb 28, 2014 at 12:32 PM, Sarah Sharp >> wrote: >> > On Mon, Feb 24, 2014 at 12:44:46PM -0500, Alan Stern wrote: >> >> On Mon, 24 Feb 2014, Mathias Nyman wrote: >> >> >> >>

Re: [RFC PATCH v2] xhci: Prevent runtime pm from autosuspending during initialization

2014-02-28 Thread Greg KH
On Fri, Feb 28, 2014 at 12:41:31PM -0800, Dan Williams wrote: > On Fri, Feb 28, 2014 at 12:32 PM, Sarah Sharp > wrote: > > On Mon, Feb 24, 2014 at 12:44:46PM -0500, Alan Stern wrote: > >> On Mon, 24 Feb 2014, Mathias Nyman wrote: > >> > >> > xHCI driver has its own pci probe function that will

Re: [RFC PATCH v2] xhci: Prevent runtime pm from autosuspending during initialization

2014-02-28 Thread Dan Williams
On Fri, Feb 28, 2014 at 12:32 PM, Sarah Sharp wrote: > On Mon, Feb 24, 2014 at 12:44:46PM -0500, Alan Stern wrote: >> On Mon, 24 Feb 2014, Mathias Nyman wrote: >> >> > xHCI driver has its own pci probe function that will call usb_hcd_pci_probe >> > to register its usb-2 bus, and then continue to

Re: [RFC PATCH v2] xhci: Prevent runtime pm from autosuspending during initialization

2014-02-28 Thread Sarah Sharp
On Mon, Feb 24, 2014 at 12:44:46PM -0500, Alan Stern wrote: > On Mon, 24 Feb 2014, Mathias Nyman wrote: > > > xHCI driver has its own pci probe function that will call usb_hcd_pci_probe > > to register its usb-2 bus, and then continue to manually register the > > usb-3 bus. usb_hcd_pci_probe does

Re: [RFC PATCH v2] xhci: Prevent runtime pm from autosuspending during initialization

2014-02-28 Thread Sarah Sharp
On Mon, Feb 24, 2014 at 12:44:46PM -0500, Alan Stern wrote: On Mon, 24 Feb 2014, Mathias Nyman wrote: xHCI driver has its own pci probe function that will call usb_hcd_pci_probe to register its usb-2 bus, and then continue to manually register the usb-3 bus. usb_hcd_pci_probe does a

Re: [RFC PATCH v2] xhci: Prevent runtime pm from autosuspending during initialization

2014-02-28 Thread Dan Williams
On Fri, Feb 28, 2014 at 12:32 PM, Sarah Sharp sarah.a.sh...@linux.intel.com wrote: On Mon, Feb 24, 2014 at 12:44:46PM -0500, Alan Stern wrote: On Mon, 24 Feb 2014, Mathias Nyman wrote: xHCI driver has its own pci probe function that will call usb_hcd_pci_probe to register its usb-2 bus, and

Re: [RFC PATCH v2] xhci: Prevent runtime pm from autosuspending during initialization

2014-02-28 Thread Greg KH
On Fri, Feb 28, 2014 at 12:41:31PM -0800, Dan Williams wrote: On Fri, Feb 28, 2014 at 12:32 PM, Sarah Sharp sarah.a.sh...@linux.intel.com wrote: On Mon, Feb 24, 2014 at 12:44:46PM -0500, Alan Stern wrote: On Mon, 24 Feb 2014, Mathias Nyman wrote: xHCI driver has its own pci probe

Re: [RFC PATCH v2] xhci: Prevent runtime pm from autosuspending during initialization

2014-02-28 Thread Dan Williams
On Fri, Feb 28, 2014 at 1:57 PM, Greg KH g...@kroah.com wrote: On Fri, Feb 28, 2014 at 12:41:31PM -0800, Dan Williams wrote: On Fri, Feb 28, 2014 at 12:32 PM, Sarah Sharp sarah.a.sh...@linux.intel.com wrote: On Mon, Feb 24, 2014 at 12:44:46PM -0500, Alan Stern wrote: On Mon, 24 Feb 2014,

Re: [RFC PATCH v2] xhci: Prevent runtime pm from autosuspending during initialization

2014-02-24 Thread Alan Stern
On Mon, 24 Feb 2014, Mathias Nyman wrote: > xHCI driver has its own pci probe function that will call usb_hcd_pci_probe > to register its usb-2 bus, and then continue to manually register the > usb-3 bus. usb_hcd_pci_probe does a pm_runtime_put_noidle at the end and > might thus trigger a runtime

Re: [RFC PATCH v2] xhci: Prevent runtime pm from autosuspending during initialization

2014-02-24 Thread Dan Williams
On Mon, Feb 24, 2014 at 8:29 AM, Mathias Nyman wrote: > xHCI driver has its own pci probe function that will call usb_hcd_pci_probe > to register its usb-2 bus, and then continue to manually register the > usb-3 bus. usb_hcd_pci_probe does a pm_runtime_put_noidle at the end and > might thus

[RFC PATCH v2] xhci: Prevent runtime pm from autosuspending during initialization

2014-02-24 Thread Mathias Nyman
xHCI driver has its own pci probe function that will call usb_hcd_pci_probe to register its usb-2 bus, and then continue to manually register the usb-3 bus. usb_hcd_pci_probe does a pm_runtime_put_noidle at the end and might thus trigger a runtime suspend before the usb-3 bus is ready. Prevent

[RFC PATCH v2] xhci: Prevent runtime pm from autosuspending during initialization

2014-02-24 Thread Mathias Nyman
xHCI driver has its own pci probe function that will call usb_hcd_pci_probe to register its usb-2 bus, and then continue to manually register the usb-3 bus. usb_hcd_pci_probe does a pm_runtime_put_noidle at the end and might thus trigger a runtime suspend before the usb-3 bus is ready. Prevent

Re: [RFC PATCH v2] xhci: Prevent runtime pm from autosuspending during initialization

2014-02-24 Thread Dan Williams
On Mon, Feb 24, 2014 at 8:29 AM, Mathias Nyman mathias.ny...@linux.intel.com wrote: xHCI driver has its own pci probe function that will call usb_hcd_pci_probe to register its usb-2 bus, and then continue to manually register the usb-3 bus. usb_hcd_pci_probe does a pm_runtime_put_noidle at the

Re: [RFC PATCH v2] xhci: Prevent runtime pm from autosuspending during initialization

2014-02-24 Thread Alan Stern
On Mon, 24 Feb 2014, Mathias Nyman wrote: xHCI driver has its own pci probe function that will call usb_hcd_pci_probe to register its usb-2 bus, and then continue to manually register the usb-3 bus. usb_hcd_pci_probe does a pm_runtime_put_noidle at the end and might thus trigger a runtime