[GIT PULL] Power management fixes for v6.7-rc4

From: Rafael J. Wysocki
Date: Fri Dec 01 2023 - 16:21:27 EST


Hi Linus,

Please pull from the tag

git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git \
pm-6.7-rc4

with top-most commit a6b31256928d78204f8f282220d3b0d64387f79d

Merge branch 'powercap'

on top of commit 2cc14f52aeb78ce3f29677c2de1f06c0e91471ab

Linux 6.7-rc3

to receive power management fixes for 6.7-rc4.

These fix issues in two cpufreq drivers, in the AMD P-state driver and
in the power-capping DTPM framework.

Specifics:

- Fix the AMD P-state driver's EPP sysfs interface in the cases when the
performance governor is in use (Ayush Jain).

- Make the ->fast_switch() callback in the AMD P-state driver return the
target frequency as expected (Gautham R. Shenoy).

- Allow user space to control the range of frequencies to use via
scaling_min_freq and scaling_max_freq when AMD P-state driver is in
use (Wyes Karny).

- Prevent power domains needed for wakeup signaling from being turned
off during system suspend on Qualcomm systems and prevent performance
states votes from runtime-suspended devices from being lost across
a system suspend-resume cycle in qcom-cpufreq-nvmem (Stephan Gerhold).

- Fix disabling the 792 Mhz OPP in the imx6q cpufreq driver for the
i.MX6ULL types that can run at that frequency (Christoph Niedermaier).

- Eliminate unnecessary and harmful conversions to uW from the DTPM
(dynamic thermal and power management) framework (Lukasz Luba).

Thanks!


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

Ayush Jain (1):
cpufreq/amd-pstate: Only print supported EPP values for
performance governor

Christoph Niedermaier (1):
cpufreq: imx6q: Don't disable 792 Mhz OPP unnecessarily

Gautham R. Shenoy (1):
cpufreq/amd-pstate: Fix the return value of amd_pstate_fast_switch()

Lukasz Luba (1):
powercap: DTPM: Fix unneeded conversions to micro-Watts

Stephan Gerhold (3):
cpufreq: qcom-nvmem: Enable virtual power domain devices
cpufreq: qcom-nvmem: Preserve PM domain votes in system suspend
pmdomain: qcom: rpmpd: Set GENPD_FLAG_ACTIVE_WAKEUP

Wyes Karny (1):
cpufreq/amd-pstate: Fix scaling_min_freq and scaling_max_freq update

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

drivers/cpufreq/amd-pstate.c | 71 +++++++++++++++++++++++++++--------
drivers/cpufreq/imx6q-cpufreq.c | 2 +-
drivers/cpufreq/qcom-cpufreq-nvmem.c | 73 ++++++++++++++++++++++++++++++++++--
drivers/pmdomain/qcom/rpmpd.c | 1 +
drivers/powercap/dtpm_cpu.c | 6 +--
drivers/powercap/dtpm_devfreq.c | 11 ++----
include/linux/amd-pstate.h | 4 ++
7 files changed, 136 insertions(+), 32 deletions(-)