Skip to content

PM: Update system power off code

Rafael J. Wysocki lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 0 repliesNew

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 -30 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

All 2 patches have a Reviewed-by or Acked-by.

PatchPavel Machek
1/2A-b
2/2A-b

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

Read the v1 thread

Cover letter [PATCH -mm 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

Greetings,
Rafael

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