[GIT PULL] Power management fixes for v6.12-rc2

From: Rafael J. Wysocki
Date: Fri Oct 04 2024 - 13:32:34 EST


Hi Linus,

Please pull from the tag

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

with top-most commit c0f02536fffbbec71aced36d52a765f8c4493dc2

cpufreq: Avoid a bad reference count on CPU node

on top of commit 9852d85ec9d492ebef56dc5f229416c925758edc

Linux 6.12-rc1

to receive power management fixes for 6.12-rc2.

These fix two cpufreq issues, one in the core and one in the
intel_pstate driver:

- Fix CPU device node reference counting in the cpufreq core (Miquel
Sabaté Solà).

- Turn the spinlock used by the intel_pstate driver in hard IRQ
context into a raw one to prevent the driver from crashing when
PREEMPT_RT is enabled (Uwe Kleine-König).

Thanks!


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

Miquel Sabaté Solà (1):
cpufreq: Avoid a bad reference count on CPU node

Uwe Kleine-König (1):
cpufreq: intel_pstate: Make hwp_notify_lock a raw spinlock

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

drivers/cpufreq/intel_pstate.c | 16 ++++++++--------
include/linux/cpufreq.h | 6 +-----
2 files changed, 9 insertions(+), 13 deletions(-)