Skip to content

PM: sleep: Fix up suspend stats handling and clean up core suspend code

Rafael J. Wysocki linux-pm lkml 2 versions – In review

Get series with b4
b4 am 5770175.DvuYhMxLoT@kreacher

Versions newest first · linked by author and title

  1. v2 Latest10 patches 9 repliesIn review
  2. v112 patches 10 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/10PM: sleep: stats: Use array of suspend step namesinclude/linux/suspend.h kernel/power/main.c+20 -330 replies
2/10PM: sleep: stats: Use an array of step failure countersdrivers/base/power/main.c include/linux/suspend.h kernel/power/main.c +1 more+40 -462 replies
3/10PM: sleep: stats: Use unsigned int for success and failure countersinclude/linux/suspend.h kernel/power/main.c+5 -51 reply
4/10PM: sleep: stats: Define suspend_stats next to the code using itdrivers/base/power/main.c include/linux/suspend.h kernel/power/main.c +2 more+81 -760 replies
5/10PM: sleep: stats: Call dpm_save_failed_step() at most once per phasedrivers/base/power/main.c+17 -31 reply
6/10PM: sleep: stats: Use locking in dpm_save_failed_dev()kernel/power/main.c+5 -00 replies
7/10PM: sleep: stats: Log errors right after running suspend callbacksdrivers/base/power/main.c+13 -361 reply
8/10PM: sleep: Move some assignments from under a lockdrivers/base/power/main.c+21 -71 reply
9/10PM: sleep: Move devices to new lists earlier in each suspend phasedrivers/base/power/main.c+3 -210 replies
10/10PM: sleep: Call dpm_async_fn() directly in each suspend phasedrivers/base/power/main.c+25 -361 reply

Reviews trailers per patch

9 of 10 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchStanislaw GruszkaUlf Hansson
SeriesR-b
1/10R-b
2/10R-b
3/10R-b
4/10
5/10R-b
6/10R-b
7/10R-b
8/10R-b
9/10R-b
10/10R-b

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

Read the v2 thread

Cover letter [PATCH v2 00/10] PM: sleep: Fix up suspend stats handling and clean up core suspend code

Hi Everyone,

This is a v2 of

https://lore.kernel.org/linux-pm/5760158.DvuYhMxLoT@kreacher

except for the first two patches that have been queued up for 6.9 already.

The original series description still applies:

Quoted 6 lines

This series of patches modifies the core system-wide suspend resume of devices to get it more internally consistent (between the suspend and resume parts) and fixes up the handling of suspend statistics in it.

The functional changes made by it are expected to be limited to the statistics handling part.

and the differences from the v1 are minor.

Please refer to individual patch changelogs for details.

Thanks!