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

From: Rafael J. Wysocki
Date: Fri Jan 26 2024 - 13:29:54 EST


Hi Linus,

Please pull from the tag

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

with top-most commit f3bdd82c5834219a5b272c2310c83aef68667486

Merge branch 'pm-cpufreq'

on top of commit 6613476e225e090cc9aad49be7fa504e290dd33d

Linux 6.8-rc1

to receive power management fixes for 6.8-rc2.

These fix two cpufreq drivers and the cpupower utility.

Specifics:

- Fix the handling of scaling_max/min_freq sysfs attributes in the AMD
P-state cpufreq driver (Mario Limonciello).

- Make the intel_pstate cpufreq driver avoid unnecessary computation of
the HWP performance level corresponding to a given frequency in the
cases when it is known already, which also helps to avoid reducing
the maximum CPU capacity artificially on some systems (Rafael J.
Wysocki).

- Fix compilation of the cpupower utility when CFLAGS is passed as a
make argument for cpupower, but it does not take effect as expected
due to mishandling (Stanley Chan).

Thanks!


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

Mario Limonciello (1):
cpufreq/amd-pstate: Fix setting scaling max/min freq values

Rafael J. Wysocki (1):
cpufreq: intel_pstate: Refine computation of P-state for given frequency

Stanley Chan (1):
tools cpupower bench: Override CFLAGS assignments

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

drivers/cpufreq/amd-pstate.c | 7 ++---
drivers/cpufreq/intel_pstate.c | 55 +++++++++++++++++++++++--------------
tools/power/cpupower/bench/Makefile | 2 +-
3 files changed, 38 insertions(+), 26 deletions(-)