Skip to content

RFC PM / Sleep: Introduce new phases of device suspend/resume

Rafael J. Wysocki lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest2 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2PM / Sleep: Introduce "late suspend" and "early resume" of devicesDocumentation/power/devices.txt arch/x86/kernel/apm_32.c drivers/base/power/main.c +7 more+357 -911 reply
2/2PM / Sleep: Introduce generic callbacks for new device PM phasesdrivers/base/power/generic_ops.c include/linux/pm.h+113 -560 replies

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchMark BrownKevin Hilman
SeriesR-b R-b T-b
1/2R-b
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [RFC][PATCH 0/2] PM / Sleep: Introduce new phases of device suspend/resume

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