From: Mario Limonciello <superm1@kernel.org>
Zen6 client platforms use CPPC differently than previous platforms
and knowing maximum frequency for a core type is needed for capacity
calculations.
Newer versions of the ACPI will introduce a proper interface
for getting this information, but for now hardcode values so that
these systems perform as intended and to unblock future scheduler
work while we continue to wait.
v3:
* rebase on linux-pm/bleeding-edge to pick up
"ACPI: CPPC: Fix register access and lifetime bugs"
v2:
Link: https://lore.kernel.org/linux-pm/20260901215913.3042182-1-mario.limonciello@amd.com/
Mario Limonciello (3):
ACPI: CPPC: Refactor boost ratio handling
cpufreq/acpi-cpufreq: Use amd_get_boost_ratio()
cpufreq/amd-pstate: Get Highest Freq for a CPU
arch/x86/kernel/acpi/cppc.c | 166 ++++++++++++++++++++++-----------
drivers/cpufreq/acpi-cpufreq.c | 17 ++--
drivers/cpufreq/amd-pstate.c | 20 ++--
include/acpi/cppc_acpi.h | 14 ++-
4 files changed, 143 insertions(+), 74 deletions(-)
--
2.53.0