[PATCH v3 0/3] Enable amd-pstate active mode by default

From: Mario Limonciello
Date: Tue Jun 20 2023 - 13:27:41 EST


Active mode for amd-pstate has shown enough success now that it makes sense
to enable it by default on client systems.

This series introduces a new kernel configuration option to set the default
policy for amd-pstate modes for a kernel.

Server systems will by identified by the PM preferred profile and still be
set as disabled by default for now.

v2->v3:
* Drop patch 4; Intel intentionally doesn't want intel-pstate on SOHO
server
* Move symbols from patch 1 into patch 2
* Add tags
Mario Limonciello (3):
ACPI: CPPC: Add definition for undefined FADT preferred PM profile
value
cpufreq: amd-pstate: Set a fallback policy based on preferred_profile
cpufreq: amd-pstate: Add a kernel config option to set default mode

drivers/cpufreq/Kconfig.x86 | 17 ++++++
drivers/cpufreq/amd-pstate.c | 101 +++++++++++++++++++++++++----------
include/acpi/actbl.h | 3 +-
include/linux/amd-pstate.h | 4 +-
4 files changed, 96 insertions(+), 29 deletions(-)

--
2.34.1