From: Ulf Hansson <ulf.hansson@linaro.org>
To: "Rafael J. Wysocki" <rjw@rjwysocki.net>
Cc: Linux PM list <linux-pm@vger.kernel.org>,
Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
Alan Stern <stern@rowland.harvard.edu>
Subject: Re: [PATCH] PM / runtime: Update documentation to reflect the current code flow
Date: Tue, 20 May 2014 09:53:45 +0200 [thread overview]
Message-ID: <CAPDyKFqaF9_YCuo6=6hO2m3E=AhFdA7pTAdnem1FFH_9Fa=b0w@mail.gmail.com> (raw)
In-Reply-To: <1820626.RvqOqaKi2q@vostro.rjw.lan>
On 16 May 2014 13:44, Rafael J. Wysocki <rjw@rjwysocki.net> wrote:
> From: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
>
> The runtime PM documentation in runtime_pm.txt has not been updated
> after some changes to the system suspend and resume core code, so
> update it to reflect the current code flow.
>
> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Looks good!
Reviewed-by: Ulf Hansson <ulf.hansson@gmail.com>
> ---
>
> This is independent of the "do not resume runtime-suspended devices" series.
>
> Thanks!
>
> ---
> Documentation/power/runtime_pm.txt | 18 ++++++++++--------
> 1 file changed, 10 insertions(+), 8 deletions(-)
>
> Index: linux-pm/Documentation/power/runtime_pm.txt
> ===================================================================
> --- linux-pm.orig/Documentation/power/runtime_pm.txt
> +++ linux-pm/Documentation/power/runtime_pm.txt
> @@ -665,15 +665,17 @@ The PM core does its best to reduce the
> the runtime PM and system suspend/resume (and hibernation) callbacks by carrying
> out the following operations:
>
> - * During system suspend it calls pm_runtime_get_noresume() and
> - pm_runtime_barrier() for every device right before executing the
> - subsystem-level .suspend() callback for it. In addition to that it calls
> - __pm_runtime_disable() with 'false' as the second argument for every device
> - right before executing the subsystem-level .suspend_late() callback for it.
> + * During system suspend pm_runtime_get_noresume() is called for every device
> + right before executing the subsystem-level .prepare() callback for it and
> + pm_runtime_barrier() is called for every device right before executing the
> + subsystem-level .suspend() callback for it. In addition to that the PM core
> + calls __pm_runtime_disable() with 'false' as the second argument for every
> + device right before executing the subsystem-level .suspend_late() callback
> + for it.
>
> - * During system resume it calls pm_runtime_enable() and pm_runtime_put()
> - for every device right after executing the subsystem-level .resume_early()
> - callback and right after executing the subsystem-level .resume() callback
> + * During system resume pm_runtime_enable() and pm_runtime_put() are called for
> + every device right after executing the subsystem-level .resume_early()
> + callback and right after executing the subsystem-level .complete() callback
> for it, respectively.
>
> 7. Generic subsystem callbacks
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-pm" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
prev parent reply other threads:[~2014-05-20 7:53 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-05-16 11:44 Rafael J. Wysocki
2014-05-20 7:53 ` Ulf Hansson [this message]
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='CAPDyKFqaF9_YCuo6=6hO2m3E=AhFdA7pTAdnem1FFH_9Fa=b0w@mail.gmail.com' \
--to=ulf.hansson@linaro.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pm@vger.kernel.org \
--cc=rjw@rjwysocki.net \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®