[PATCH 0/2] PM: sleep: Rework cpuidle handling during system-wide PM transitions

From: Rafael J. Wysocki
Date: Fri Oct 22 2021 - 12:08:38 EST


Hi All,

Currently, cpuidle is paused before the last phase of suspending device
(suspend_noirq), but first it doesn't make sense to pause it for
suspend-to-idle, because suspend-to-idle resumes it anyway later, and
then it need not be paused while suspending devices anyway.

Patch [1/2] removes the pausing and resuming of cpuidle from the suspend-to-idle
path and patch [1/2] combines these operations with the disabling and enabling
of secondary CPUs (which does not take place in the suspend-to-idle path),
respectively.

Thanks!