Re: [PATCH] usb: xhci: Disable runtime PM suspend for quirkycontrollers.

From: Don Zickus
Date: Wed May 29 2013 - 16:33:00 EST


On Wed, May 29, 2013 at 12:38:28PM -0700, Sarah Sharp wrote:
> On Tue, May 28, 2013 at 02:41:18PM -0700, Julius Werner wrote:
> > The policy we want to achieve is to disable runtime PM iff there is a
> > device connected that doesn't have persist_enabled or a reset_resume()
> > handler and whose parent/root hub resets on resume, right?
>
> Makes sense. However, not all distros may want that policy, so there
> should be a way to change that policy via sysfs. Some distros may
> choose to take the power savings over having a particular USB device
> work, especially in the server market.
>
> Don, Oliver, what do you think of this patch:
> http://marc.info/?l=linux-usb&m=136941922715772&w=2

That is limited only to certain controllers right? RHEL6 doesn't support
runtime suspend, so we don't hear to many complaints. Most of our server
customers don't have much plugged into USB, so I don't expect much
problems there. Our laptop customers prefer the power savings, but I
don't know how many of them have chipsets with XHCI_RESET_ON_RESUME.

>
> Julius is proposing to limit the scope of the patch a bit, but the
> impact will still be that TI hosts will be active more often than not.

Hmm, for some reason I don't see TI having the XHCI_RESET_ON_RESUME quirk
set, just VIA and ETRON. Neither of which seem to be normally shipped
with servers.

Cheers,
Don
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/