Messages in this thread | ![/](/images/icornerl.gif) | | From | "Rafael J. Wysocki" <> | Subject | [RFC][PATCH 0/2] PM / Sleep: Introduce new phases of device suspend/resume | Date | Fri, 23 Dec 2011 00:29:19 +0100 |
| |
Hi,
On the request of some driver PM developers, that appears to have been quite popular lately, this series of patches adds new system suspend/resume (and hibernation/restore) callbacks to struct dev_pm_ops and makes the PM core use them during system power transitions.
[1/2] - Introduce "late suspend" and "early resume" of devices. [2/2] - Introduce generic callbacks for new device PM phases.
The series is on top of the linux-next branch of the linux-pm tree.
These patches have been tested on Toshiba Portege R500 with openSUSE 12.1 without crashing the box in the process, which looks promising. Also, they shouldn't actually have any impact on the existing setups other than adding a very short delay to the system suspend/resume code paths.
Comments welcome!
Thanks, Rafael
| ![\](/images/icornerr.gif) |