[GIT PULL] Power management fixes for v5.19-rc2

From: Rafał Wysocki
Date: Fri Jun 10 2022 - 14:49:19 EST


Hi Linus,

Please pull from the tag

git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git \
pm-5.19-rc2

with top-most commit 67e59f8d019fb097f35c82533cc9b27bb392e5b1

Merge branch 'pm-sysoff'

on top of commit f2906aa863381afb0015a9eb7fefad885d4e5a56

Linux 5.19-rc1

to receive power management fixes for 5.19-rc2.

These fix an intel_idle issue introduced during the 5.16 development
cycle and two recent regressions in the system reboot/poweroff code.

Specifics:

- Fix CPUIDLE_FLAG_IRQ_ENABLE handling in intel_idle (Peter Zijlstra).

- Allow all platforms to use the global poweroff handler and make
non-syscall poweroff code paths work again (Dmitry Osipenko).

Thanks!


---------------

Dmitry Osipenko (2):
kernel/reboot: Use static handler for register_platform_power_off()
kernel/reboot: Fix powering off using a non-syscall code paths

Peter Zijlstra (1):
cpuidle,intel_idle: Fix CPUIDLE_FLAG_IRQ_ENABLE

---------------

drivers/idle/intel_idle.c | 32 +++++++++++++----
kernel/reboot.c | 87 +++++++++++++++++++++++++++++++++--------------
2 files changed, 87 insertions(+), 32 deletions(-)