Skip to content

ACPI: PM: Fix two issues in acpi_device_set_power()

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

Get series with b4
b4 am 10419005.Mb09WM6RCc@kreacher

Versions newest first

  1. v1 Latest2 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2ACPI: PM: Avoid evaluating _PS3 on transitions from D3hot to D3colddrivers/acpi/device_pm.c+9 -32 replies
2/2ACPI: PM: Allow transitions to D0 to occur in special casesdrivers/acpi/device_pm.c+45 -81 reply

Reviews trailers per patch

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

PatchMika Westerberg
1/2R-b
2/2R-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 0/2] ACPI: PM: Fix two issues in acpi_device_set_power()

Hi All,

There are two, arguably minor, issues in acpi_device_set_power() that have been introduced while making the code follow the ACPI 6 recommendations.

One of them is that, if the device is in D3hot, transitioning it into D3cold only involves dropping references to some power resources and it should not involve evaluating _PS3 which may happen currently.

The second one is that it sometimes is necessary to update the power state of a device to D0 even if it was put into D0 previously, so that needs to be possible.

Please refer to the patch changelogs for details.

Thanks,
Rafael