[GIT PULL] Power management fix for v6.15-rc1

From: Rafał Wysocki
Date: Wed Apr 02 2025 - 11:03:16 EST


Hi Linus,

Please pull from the tag

git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git \
pm-6.15-rc1-2

with top-most commit 9e4e249018d208678888bdf22f6b652728106528

cpufreq: Reference count policy in cpufreq_update_limits()

on top of commit 7d20aa5c32ac8bd272b5470ddbd7ac6e0cb35714

Merge tag 'pm-6.15-rc1' of
git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm

to receive a power management fix for 6.15-rc1.

This prevents cpufreq_update_limits() from crashing the kernel due
to a NULL pointer dereference when it is called before registering
a cpufreq driver, for instance as a result of a notification
triggered by the platform firmware (Rafael Wysocki).

Thanks!


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

Rafael J. Wysocki (1):
cpufreq: Reference count policy in cpufreq_update_limits()

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

drivers/cpufreq/cpufreq.c | 6 ++++++
1 file changed, 6 insertions(+)