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

From: Oliver Neukum
Date: Mon Jun 03 2013 - 07:32:03 EST


On Wednesday 29 May 2013 16:32:38 Don Zickus wrote:
> 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.

Power savings are good, but reliability is better. For what it's worth,ior
I like the patch. It is a logical extension of the current behavior.

Regards
Oliver

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