Skip to content

PM: Use DPM_FLAG_SMART_SUSPEND conditionally

Rafael J. Wysocki linux-acpi linux-pci linux-pm lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest4 patches 3 repliesIn review
  2. v13 patches 6 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4PM: Block enabling of runtime PM during system suspenddrivers/base/power/main.c drivers/base/power/runtime.c include/linux/pm.h +1 more+38 -00 replies
2/4PM: runtime: Introduce pm_runtime_blocked()drivers/base/power/runtime.c include/linux/pm_runtime.h+19 -00 replies
3/4PM: sleep: Use DPM_FLAG_SMART_SUSPEND conditionallydrivers/acpi/device_pm.c drivers/base/power/main.c drivers/mfd/intel-lpss.c +3 more+60 -222 replies
4/4PM: sleep: Avoid unnecessary checks in device_prepare_smart_suspend()drivers/base/power/main.c drivers/base/power/runtime.c include/linux/pm_runtime.h+18 -111 reply

Reviews trailers per patch

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

PatchUlf HanssonBjorn Helgaas
1/4R-b
2/4R-b
3/4R-b A-b
4/4R-b

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

Read the v2 thread

Cover letter [PATCH v2 0/4] PM: Use DPM_FLAG_SMART_SUSPEND conditionally

Hi Everyone,

This is an update of the patch series at

https://lore.kernel.org/linux-pm/[email protected]/

which was a follow-up for

https://lore.kernel.org/linux-pm/[email protected]/

This series modifies the PM core and the users of DPM_FLAG_SMART_SUSPEND to take it into account only if it is consistently used in dependency graphs, as described in the changelog of patch [3/4].

Patches [1-2/4] are preparatory and they arrange for the handling of devices with no runtime PM support in a meaningful way.

Patch [4/4] is new in this series and it adds an optimization on top of the previous patches.

Apart from adding the new patch, this update addresses review comments in the other patches.

Thanks!