From: Greg KH <greg@kroah.com>
To: "Rafael J. Wysocki" <rjw@sisk.pl>
Cc: pm list <linux-pm@lists.linux-foundation.org>,
LKML <linux-kernel@vger.kernel.org>,
Jesse Barnes <jbarnes@virtuousgeek.org>,
Matthew Garrett <mjg59@srcf.ucam.org>,
Alan Stern <stern@rowland.harvard.edu>
Subject: Re: [RFC][PATCH] PM / Runtime: Add sysfs switch for disabling device run-time PM
Date: Tue, 19 Jan 2010 18:51:47 -0800 [thread overview]
Message-ID: <20100120025147.GA20979@kroah.com> (raw)
In-Reply-To: <201001180129.55219.rjw@sisk.pl>
On Mon, Jan 18, 2010 at 01:29:55AM +0100, Rafael J. Wysocki wrote:
> From: Rafael J. Wysocki <rjw@sisk.pl>
> Subject: PM / Runtime: Add sysfs switch for disabling device run-time PM
>
> Add new device sysfs attribute, power/runtime, allowing the user
> space to block the run-time power management of the device. If this
> attribute is set to "disabled", the driver of the device won't be
> able to enable run-time power management for it (without breaking the
> rules).
>
> Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
> ---
> drivers/base/power/power.h | 4 +
> drivers/base/power/runtime.c | 107 +++++++++++++++++++++++++++++++++----------
> drivers/base/power/sysfs.c | 46 ++++++++++++++++++
> include/linux/pm.h | 1
> include/linux/pm_runtime.h | 11 +---
> 5 files changed, 139 insertions(+), 30 deletions(-)
You forgot to also add an entry into Documentation/ABI/ for when you
add/change a sysfs file :)
thanks,
greg k-h
next prev parent reply other threads:[~2010-01-20 3:18 UTC|newest]
Thread overview: 58+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-01-18 0:29 [RFC][PATCH] PM / Runtime: Add sysfs switch for disabling device run-time PM Rafael J. Wysocki
2010-01-18 16:10 ` Alan Stern
2010-01-18 22:25 ` [Update][RFC][PATCH] " Rafael J. Wysocki
2010-01-19 15:40 ` Alan Stern
2010-01-19 20:32 ` Rafael J. Wysocki
2010-01-19 20:32 ` Rafael J. Wysocki
2010-01-19 23:27 ` Rafael J. Wysocki
2010-01-19 23:27 ` Rafael J. Wysocki
2010-01-20 15:09 ` Alan Stern
2010-01-20 21:09 ` Rafael J. Wysocki
2010-01-20 21:37 ` Alan Stern
2010-01-20 22:17 ` Rafael J. Wysocki
2010-01-20 22:17 ` Rafael J. Wysocki
2010-01-20 21:37 ` Alan Stern
2010-01-20 21:09 ` Rafael J. Wysocki
2010-01-20 15:09 ` Alan Stern
2010-01-19 15:40 ` Alan Stern
2010-01-18 22:25 ` Rafael J. Wysocki
2010-01-18 16:10 ` [RFC][PATCH] " Alan Stern
2010-01-20 2:51 ` Greg KH [this message]
2010-01-20 20:55 ` Rafael J. Wysocki
2010-01-20 22:50 ` Greg KH
2010-01-20 22:50 ` Greg KH
2010-01-20 20:55 ` Rafael J. Wysocki
2010-01-20 2:51 ` Greg KH
2010-01-21 22:57 ` [PATCH 0/2] " Rafael J. Wysocki
2010-01-21 22:59 ` [PATCH 1/2] PM / Runtime: Add sysfs switch for disabling device run-time PM (rev. 2) Rafael J. Wysocki
2010-01-22 3:02 ` Alan Stern
2010-01-22 20:56 ` Rafael J. Wysocki
2010-01-22 20:56 ` Rafael J. Wysocki
2010-01-22 22:45 ` Alan Stern
2010-01-22 22:55 ` Rafael J. Wysocki
2010-01-22 22:55 ` Rafael J. Wysocki
2010-01-22 22:45 ` Alan Stern
2010-01-23 3:22 ` Alan Stern
2010-01-23 3:22 ` Alan Stern
2010-01-23 12:14 ` Rafael J. Wysocki
2010-01-23 15:20 ` Alan Stern
2010-01-23 20:08 ` Rafael J. Wysocki
2010-01-23 20:08 ` Rafael J. Wysocki
2010-01-23 15:20 ` Alan Stern
2010-01-23 12:14 ` Rafael J. Wysocki
2010-01-22 3:02 ` Alan Stern
2010-02-04 22:46 ` Pavel Machek
2010-02-04 23:08 ` Rafael J. Wysocki
2010-02-04 23:08 ` Rafael J. Wysocki
2010-02-05 6:27 ` Pavel Machek
2010-02-05 15:19 ` Alan Stern
2010-02-05 15:19 ` Alan Stern
2010-02-05 6:27 ` Pavel Machek
2010-02-05 8:03 ` [linux-pm] " Nigel Cunningham
2010-02-05 8:03 ` Nigel Cunningham
2010-02-04 22:46 ` Pavel Machek
2010-01-21 22:59 ` Rafael J. Wysocki
2010-01-21 23:00 ` [PATCH 2/2] PM: Document device power attributes in sysfs Rafael J. Wysocki
2010-01-21 23:00 ` Rafael J. Wysocki
2010-01-21 22:57 ` [PATCH 0/2] sysfs switch for disabling device run-time PM Rafael J. Wysocki
-- strict thread matches above, loose matches on Subject: below --
2010-01-18 0:29 [RFC][PATCH] PM / Runtime: Add " Rafael J. Wysocki
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=20100120025147.GA20979@kroah.com \
--to=greg@kroah.com \
--cc=jbarnes@virtuousgeek.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pm@lists.linux-foundation.org \
--cc=mjg59@srcf.ucam.org \
--cc=rjw@sisk.pl \
--cc=stern@rowland.harvard.edu \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.