linux-pm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: [PATCH] nvme: Fix nvme_get/set_features() with a NULL result pointer
       [not found]   ` <CALCETrWsJCwO6D9=LsYOV5ghbXMc_MdOYgXm1qzarJ1-cizuXw@mail.gmail.com>
@ 2016-08-25  8:27     ` Christoph Hellwig
  0 siblings, 0 replies; only message in thread
From: Christoph Hellwig @ 2016-08-25  8:27 UTC (permalink / raw)
  To: Andy Lutomirski
  Cc: Christoph Hellwig, Andy Lutomirski, Keith Busch, Jens Axboe,
	linux-nvme, linux-kernel@vger.kernel.org, linux-pm

On Thu, Aug 25, 2016 at 12:54:00AM -0700, Andy Lutomirski wrote:
> I am, and I have a patch to do the former (and to add a length
> argument).  But that's not -stable material.

Great!

> While I have your attention: the new use is to enable APST (power
> saving).  In theory, it seems like I should integrate with dev_pm_qos
> so that the standard interface for setting a latency limit will work,
> but, on brief inspection, there are literally no drivers in the entire
> tree that do this.  Am I missing something?  My current draft patch
> just adds a sysfs attribute.  (It saves a *lot* of power on my laptop,
> so supporting APST is worth doing.)

I'm proably the wrong person to talk about PM interfaces, but not
having it used anywhere is a red herring and needs a ping to the PM
folks why we even have that code in the tree.

Integrating it with the PM core would be preferable, but until that
happens we should just enable it by default in the nvme driver and
have a local tweak (sysfs file, or maybe even just a run-time writeable
module parameter) to turn it off.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2016-08-25  8:27 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <f0eca21161c9ec5f81e9591741463ec3883cb931.1472035881.git.luto@kernel.org>
     [not found] ` <20160825073810.GA18622@lst.de>
     [not found]   ` <CALCETrWsJCwO6D9=LsYOV5ghbXMc_MdOYgXm1qzarJ1-cizuXw@mail.gmail.com>
2016-08-25  8:27     ` [PATCH] nvme: Fix nvme_get/set_features() with a NULL result pointer Christoph Hellwig

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