[GIT PULL] Power management fixes for v6.1-rc7

From: Rafael J. Wysocki
Date: Fri Nov 25 2022 - 12:42:37 EST


Hi Linus,

Please pull from the tag

git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git \
pm-6.1-rc7

with top-most commit 1056d314709d0607a22e589c54b1e47e0da57b9d

Documentation: add amd-pstate kernel command line options

on top of commit eb7081409f94a9a8608593d0fb63a1aa3d6f95d8

Linux 6.1-rc6

to receive power management fixes for 6.1-rc7.

These revert a recent change in the schedutil cpufreq governor that
had not been expected to make any functional difference, but turned
out to introduce a performance regression, fix an initialization issue
in the amd-pstate driver and make it actually replace the venerable
ACPI cpufreq driver on the supported systems by default.

Specifics:

- Revert a recent schedutil cpufreq governor change that introduced
a performance regression on Pixel 6 (Sam Wu).

- Fix amd-pstate driver initialization after running the kernel via
kexec (Wyes Karny).

- Turn amd-pstate into a built-in driver which allows it to take
precedence over acpi-cpufreq by default on supported systems and
amend it with a mechanism to disable this behavior (Perry Yuan).

- Update amd-pstate documentation in accordance with the other changes
made to it (Perry Yuan).

Thanks!


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

Perry Yuan (4):
cpufreq: amd-pstate: change amd-pstate driver to be built-in type
cpufreq: amd-pstate: add amd-pstate driver parameter for mode selection
Documentation: amd-pstate: add driver working mode introduction
Documentation: add amd-pstate kernel command line options

Sam Wu (1):
Revert "cpufreq: schedutil: Move max CPU capacity to sugov_policy"

Wyes Karny (1):
cpufreq: amd-pstate: cpufreq: amd-pstate: reset MSR_AMD_PERF_CTL
register at init

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

Documentation/admin-guide/kernel-parameters.txt | 11 ++++++
Documentation/admin-guide/pm/amd-pstate.rst | 30 +++++++--------
drivers/cpufreq/Kconfig.x86 | 2 +-
drivers/cpufreq/amd-pstate.c | 49 +++++++++++++++++--------
kernel/sched/cpufreq_schedutil.c | 30 +++++++--------
5 files changed, 74 insertions(+), 48 deletions(-)