From: "Rafael J. Wysocki" <rjw@sisk.pl>
To: Alan Stern <stern@rowland.harvard.edu>
Cc: Linux-pm mailing list <linux-pm@lists.linux-foundation.org>
Subject: Re: [RFC] PM: Add PM_RESUME_PREPARE and PM_POST_RESUME notifiers
Date: Mon, 29 Oct 2007 23:34:12 +0100 [thread overview]
Message-ID: <200710292334.12812.rjw@sisk.pl> (raw)
In-Reply-To: <Pine.LNX.4.44L0.0710291723280.11831-100000@iolanthe.rowland.org>
On Monday, 29 October 2007 22:30, Alan Stern wrote:
> Rafael:
>
> How does this patch look? Any reason not to have the resume notifiers?
Yes.
The userland interface already uses PM_HIBERNATION_PREPARE and
PM_POST_HIBERNATION for restore too, so if anything, we should call these
from software_resume() either.
As a rule of thumb, if you're going to change kernel/power/disk.c, have a look
at kernel/power/user.c and see if analogous changes are needed in there.
> After all, drivers need to know when an image is about to be restored
> just as much as they need to know when one is about to be created.
>
> Assuming this is okay, to whom should I submit it?
Well, it isn't, but as far as the patch flow is concerned, please post suspend
patches to linux-pm and I'll forward them to Len Brown. Next, they will go
through the suspend branch of the ACPI tree.
This doesn't apply to patches that change drivers/base/power and should go to
Greg, but I can forward them to him too.
> There will be a couple of follow-up patches, one adding the icebox and one
> converting the USB threads to use the icebox instead of the freezer. This
> sort of cross-subsystem stuff is difficult to coordinate unless one person
> handles everything.
The overall idea is to collect patches in the suspend branch of the ACPI tree,
unless that is against some higher priority rules.
Greetings,
Rafael
next prev parent reply other threads:[~2007-10-29 22:34 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-10-29 21:30 [RFC] PM: Add PM_RESUME_PREPARE and PM_POST_RESUME notifiers Alan Stern
2007-10-29 22:34 ` Rafael J. Wysocki [this message]
2007-10-30 14:52 ` Alan Stern
2007-10-30 21:15 ` Rafael J. Wysocki
2007-10-31 21:11 ` Alan Stern
2007-10-31 22:09 ` Rafael J. Wysocki
2007-11-01 14:40 ` Alan Stern
2007-11-01 15:13 ` Rafael J. Wysocki
2007-11-01 19:31 ` [PATCH] PM: Add PM_RESTORE_PREPARE and PM_POST_RESTORE notifiers Alan Stern
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=200710292334.12812.rjw@sisk.pl \
--to=rjw@sisk.pl \
--cc=linux-pm@lists.linux-foundation.org \
--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