Skip to content

x86 PM: Consolidate suspend and hibernation code

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

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 8 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4x86 PM: Move 64-bit hibernation files to arch/x86/powerarch/x86/Makefile arch/x86/kernel/Makefile arch/x86/kernel/suspend_64.c +4 more+477 -4660 replies
1/4x86 PM: Move 64-bit hibernation files to arch/x86/powerarch/x86/Makefile arch/x86/kernel/Makefile arch/x86/kernel/suspend_64.c +4 more+477 -4660 replies
2/4x86 PM: Rename 32-bit files in arch/x86/powerarch/x86/power/Makefile arch/x86/power/cpu.c arch/x86/power/cpu_32.c +4 more+384 -3850 replies
2/4x86 PM: Rename 32-bit files in arch/x86/powerarch/x86/power/Makefile arch/x86/power/cpu.c arch/x86/power/cpu_32.c +4 more+384 -3850 replies
3/4x86 PM: Consolidate suspend and hibernation codearch/x86/power/Makefile arch/x86/power/cpu_64.c arch/x86/power/hibernate_64.c +1 more+337 -3280 replies
3/4x86 PM: Consolidate suspend and hibernation codearch/x86/power/Makefile arch/x86/power/cpu_64.c arch/x86/power/hibernate_64.c +1 more+337 -3280 replies
4/4x86 PM: Update stale commentsarch/x86/power/hibernate_32.c arch/x86/power/hibernate_64.c+3 -30 replies
4/4x86 PM: Update stale commentsarch/x86/power/hibernate_32.c arch/x86/power/hibernate_64.c+3 -30 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/4] x86 PM: Consolidate suspend and hibernation code

Hi,

This series of patches consolidates the x86 suspend and hibernation code. It does the following:
- move 64-bit hibernation/suspend files to arch/x86/power (under different names)
- rename 32-bit files in arch/x86/power in line with the 64-bit files
- separate hibernation-specific 64-bit code from the code used for both suspend and hibernation and simplify the Makefile
- fix up comments
Details are in the changelogs.

These patches don't introduce any functional changes.

Please review (and consider for merging if they look good :-)).

Thanks,
Rafael

Signature · 1 line
"Premature optimization is the root of all evil." - Donald Knuth