[GIT PULL] Power management fixes for v7.0-rc5

From: Rafael J. Wysocki

Date: Thu Mar 19 2026 - 10:57:21 EST


Hi Linus,

Please pull from the tag

git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git \
pm-7.0-rc5

with top-most commit 9633370653151a0d5637634d1887d2f32511e69f

Merge branch 'pm-runtime'

on top of commit f338e77383789c0cae23ca3d48adcc5e9e137e3c

Linux 7.0-rc4

to receive power management fixes for 7.0-rc5.

These fix an idle loop issue exposed by recent changes and a race
condition related to device removal in the runtime PM core code:

- Consolidate the handling of two special cases in the idle loop that
occur when only one CPU idle state is present (Rafael Wysocki)

- Fix a race condition related to device removal in the runtime PM
core code that may cause a stale device object pointer to be
dereferenced (Bart Van Assche)

Thanks!


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

Bart Van Assche (1):
PM: runtime: Fix a race condition related to device removal

Rafael J. Wysocki (1):
sched: idle: Consolidate the handling of two special cases

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

drivers/base/power/runtime.c | 1 +
kernel/sched/idle.c | 30 +++++++++++++++++++++---------
2 files changed, 22 insertions(+), 9 deletions(-)