[PATCH v2 0/3] Zen6 client CPPC
Mario Limonciello <[email protected]>
| Newsgroups | org.kernel.vger.linux-acpi,org.kernel.vger.linux-kernel,org.kernel.vger.linux-pm |
|---|---|
| Message-ID | <[email protected]> |
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. v2: * Rebase on v7.3-rc1 + [1] * Add tags * Use CPU features instead of FMR * Use Prateek's suggested fallback path Link: https://lore.kernel.org/linux-acpi/[email protected]/ [1] 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.43.0