[GIT PULL] Power management fixes for v6.14-rc2
From: Rafael J. Wysocki
Date: Fri Feb 07 2025 - 08:02:56 EST
Hi Linus,
Please pull from the tag
git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git \
pm-6.14-rc2
with top-most commit 73195bed7899150cd1005cf0a902b68793adad23
Merge branch 'pm-powercap'
on top of commit 2014c95afecee3e76ca4a56956a936e23283f05b
Linux 6.14-rc1
to receive power management fixes for 6.14-rc2.
These fix a handful of issues in the amd-pstate driver, the airoha
cpufreq driver build, a (recently added) possible NULL pointer
dereference in the cpufreq code and a possible memory leak in the
power capping subsystem:
- Fix cpufreq_policy reference counting and prevent max_perf from
going above the current limit in amd-pstate, and drop a redundant
goto label from it (Dhananjay Ugwekar).
- Prevent the per-policy boost_enabled flag in amd-pstate from getting
out of sync with the actual state after boot failures (Lifeng Zheng).
- Fix a recently added possible NULL pointer dereference in the
cpufreq core (Aboorva Devarajan).
- Fix a build issue related to CONFIG_OF and COMPILE_TEST dependencies
in the airoha cpufreq driver (Arnd Bergmann).
- Fix a possible memory leak in the power capping subsystem (Joe
Hattori).
Thanks!
---------------
Aboorva Devarajan (1):
cpufreq: prevent NULL dereference in cpufreq_online()
Arnd Bergmann (1):
cpufreq: airoha: modify CONFIG_OF dependency
Dhananjay Ugwekar (3):
cpufreq/amd-pstate: Remove the goto label in amd_pstate_update_limits
cpufreq/amd-pstate: Fix max_perf updation with schedutil
cpufreq/amd-pstate: Fix cpufreq_policy ref counting
Joe Hattori (1):
powercap: call put_device() on an error path in
powercap_register_control_type()
Lifeng Zheng (1):
cpufreq/amd-pstate: Fix per-policy boost flag incorrect when fail
---------------
drivers/cpufreq/Kconfig.arm | 3 ++-
drivers/cpufreq/amd-pstate.c | 20 ++++++++++----------
drivers/cpufreq/cpufreq.c | 3 ++-
drivers/powercap/powercap_sys.c | 3 +--
4 files changed, 15 insertions(+), 14 deletions(-)