Skip to content

RFC PM: Update system power off code

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

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest2 patches 12 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2ACPI: Do not prepare for hibernation in acpi_shutdowndrivers/acpi/sleep/poweroff.c+0 -34 replies
1/2ACPI: Do not prepare for hibernation in acpi_shutdowndrivers/acpi/sleep/poweroff.c+0 -30 replies
2/2PM: Introduce pm_power_off_preparedrivers/acpi/sleep/poweroff.c include/linux/pm.h kernel/sys.c+19 -298 replies
2/2PM: Introduce pm_power_off_preparedrivers/acpi/sleep/poweroff.c include/linux/pm.h kernel/sys.c+19 -290 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [RFC][PATCH 0/2] PM: Update system power off code

Hi,

The following two patches update the system power off code. They:
* remove the (unnecessary) call to acpi_sleep_prepare(ACPI_STATE_S4) from acpi_shutdown()
* remove acpi_sysclass and device_acpi that are only defined to register the ACPI power off preparation callback in acpi_shutdown() and introduce more general mechanism instead
The details are in the changelogs.

Comments welcome.

Greetings,
Rafael

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