Skip to content

Introduce CONFIG_HIBERNATION and CONFIG_SUSPEND (was: CONFIG_SUSPEND?)

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

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 23 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2Replace CONFIG_SOFTWARE_SUSPEND with CONFIG_HIBERNATIONarch/i386/Kconfig.debug arch/i386/kernel/e820.c arch/i386/mm/init.c +30 more+47 -470 replies
1/2Replace CONFIG_SOFTWARE_SUSPEND with CONFIG_HIBERNATIONarch/i386/Kconfig.debug arch/i386/kernel/e820.c arch/i386/mm/init.c +30 more+47 -470 replies
1/2Replace CONFIG_SOFTWARE_SUSPEND with CONFIG_HIBERNATION (updated)arch/i386/Kconfig.debug arch/i386/kernel/e820.c arch/i386/mm/init.c +30 more+47 -470 replies
1/2Replace CONFIG_SOFTWARE_SUSPEND with CONFIG_HIBERNATION (updated)arch/i386/Kconfig.debug arch/i386/kernel/e820.c arch/i386/mm/init.c +30 more+47 -470 replies
2/2Introduce CONFIG_SUSPENDdrivers/acpi/Kconfig drivers/base/power/Makefile drivers/base/power/power.h +9 more+90 -4116 replies
2/2Introduce CONFIG_SUSPENDdrivers/acpi/Kconfig drivers/base/power/Makefile drivers/base/power/power.h +9 more+90 -410 replies
2/2Introduce CONFIG_SUSPEND (updated)drivers/acpi/Kconfig drivers/acpi/sleep/Makefile drivers/acpi/sleep/main.c +14 more+163 -857 replies
2/2Introduce CONFIG_SUSPEND (updated)drivers/acpi/Kconfig drivers/acpi/sleep/Makefile drivers/acpi/sleep/main.c +14 more+163 -850 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/2] Introduce CONFIG_HIBERNATION and CONFIG_SUSPEND (was: CONFIG_SUSPEND?)
Quoted 10 lines · Linus Torvalds
Quoted 3 lines · Rafael J. Wysocki

OK, I'll prepare a patch to introduce CONFIG_SUSPEND, but that will require quite a bit of (compilation) testing on different architectures.

Sure. I'm not too worried, the fallout should be of the trivial kind.

Also, mind basing it on the (independent) cleanups that Adrian already sent out. This is all intertwined..

OK, it took more time than I had hoped, but I wanted CONFIG_HIBERNATION and CONFIG_SUSPEND to be really independent of each other.

The two patches in the next messages implement the idea:
* replace CONFIG_SOFTWARE_SUSPEND with CONFIG_HIBERNATION
* introduce CONFIG_SUSPEND that selects CONFIG_HOTPLUG_CPU, if necessary, and make it possible to choose suspend and hibernation independently of each other.

Greetings,
Rafael