[PATCH 0/3] Zen6 client CPPC

Mario Limonciello posted 3 patches 3 weeks, 4 days ago
There is a newer version of this series
arch/x86/kernel/acpi/cppc.c    | 174 ++++++++++++++++++++++-----------
drivers/cpufreq/acpi-cpufreq.c |  17 ++--
drivers/cpufreq/amd-pstate.c   |  22 +++--
include/acpi/cppc_acpi.h       |  14 ++-
4 files changed, 154 insertions(+), 73 deletions(-)
[PATCH 0/3] Zen6 client CPPC
Posted by Mario Limonciello 3 weeks, 4 days ago
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.

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    | 174 ++++++++++++++++++++++-----------
 drivers/cpufreq/acpi-cpufreq.c |  17 ++--
 drivers/cpufreq/amd-pstate.c   |  22 +++--
 include/acpi/cppc_acpi.h       |  14 ++-
 4 files changed, 154 insertions(+), 73 deletions(-)

-- 
2.43.0
Re: [PATCH 0/3] Zen6 client CPPC
Posted by K Prateek Nayak 3 weeks, 4 days ago
Hello Mario,

On 9/1/2026 1:14 AM, Mario Limonciello wrote:
> 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.

I did some sanity testing on couple of servers and everything looks
good apart from that one section mismatch warning. Feel free to
include:

Tested-by: K Prateek Nayak <kprateek.nayak@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    | 174 ++++++++++++++++++++++-----------
>  drivers/cpufreq/acpi-cpufreq.c |  17 ++--
>  drivers/cpufreq/amd-pstate.c   |  22 +++--
>  include/acpi/cppc_acpi.h       |  14 ++-
>  4 files changed, 154 insertions(+), 73 deletions(-)
> 

-- 
Thanks and Regards,
Prateek