Skip to content

RFC PM: Rework suspend and hibernation code for devices (rev. 4)

Rafael J. Wysocki linux-acpi linux-pm lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest3 patches 15 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3PM: Introduce new top level suspend and hibernation callbacks (rev. 7)arch/x86/kernel/apm_32.c drivers/base/power/main.c drivers/base/power/power.h +5 more+847 -2040 replies
1/3PM: Introduce new top level suspend and hibernation callbacks (rev. 7)arch/x86/kernel/apm_32.c drivers/base/power/main.c drivers/base/power/power.h +5 more+847 -20410 replies
2/3PM: New suspend and hibernation callbacks for platform bus type (rev. 3)drivers/base/platform.c include/linux/platform_device.h+289 -80 replies
2/3PM: New suspend and hibernation callbacks for platform bus type (rev. 3)drivers/base/platform.c include/linux/platform_device.h+289 -83 replies
3/3PM: New suspend and hibernation callbacks for PCI bus type (rev. 3)drivers/pci/pci-driver.c include/linux/pci.h+334 -390 replies
3/3PM: New suspend and hibernation callbacks for PCI bus type (rev. 3)drivers/pci/pci-driver.c include/linux/pci.h+334 -392 replies

Reviews trailers per patch

2 of 6 patches have a Reviewed-by or Acked-by.

PatchJesse Barnes
1/3A-b
1/3A-b
2/3
2/3
3/3
3/3

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/3] PM: Rework suspend and hibernation code for devices (rev. 4)

Hi,

This is the 4th revision of the patches intended to start the redesign of the suspend and hibernation framework for devices, addressing (hopefully) all of the recent comments.

Patch [1/3] is the 7th revision of the patch introducing new callbacks for suspend and hibernation.

The other two patches implement the new suspend and hibernation callbacks for the platform and PCI bus types (3rd revision of both).

The main differences between these patches and the previous revision:
* Dropped DPM_INVALID and made the PM core only report errors returned by resume callbacks, without handling them in any other way
* Updated the comments in pm.h accordingly
* Added a function for printing error messages to main.c

The platform and PCI patches are unchanged.

More comments welcome.

Thanks,
Rafael