2022-07-07 17:17:41

by Yuan, Perry

[permalink] [raw]
Subject: [PATCH 00/12] AMD Pstate Enhancement And Issue Fixs

This patchset adds support for precision boost hardware control
for AMD processors.

Meanwhile the patchset fixs lowest perf query and desired perf scope issues.
Update transition delay and latency default value to meet SMU firmware requirement.
and do some code cleanups,
It also exports cpufreq cpu release and acquire for coming amd-pstate epp mode driver

The patch series are tested on the AMD mobile and EYPC server systems.

Perry Yuan (12):
x86/msr: Add the MSR definition for AMD CPPC hardware control.
cpufreq: amd-pstate: enable AMD Precision Boost mode switch
cpufreq: amd-pstate: cleanup the unused and duplicated headers
declaration
cpufreq: amd-pstate: prefetch cppc_req_cached value in
amd_pstate_cpu_init()
cpufreq: amd-pstate: simplify cpudata pointer assignment
cpufreq: amd_pstate: fix wrong lowest perf fetch
cpufreq: amd_pstate: map desired perf into pstate scope for powersave
governor
cpufreq: amd-pstate: fix white-space
cpufreq: amd-pstate: update pstate frequency transition delay time
cpufreq: cpufreq: export cpufreq cpu release and acquire
cpufreq: amd-pstate: add ACPI disabled check
cpufreq: amd_pstate: update transition delay time to 1ms

arch/x86/include/asm/msr-index.h | 3 ++
drivers/acpi/cppc_acpi.c | 3 ++
drivers/cpufreq/amd-pstate.c | 57 +++++++++++++++++++-------------
drivers/cpufreq/cpufreq.c | 2 ++
4 files changed, 42 insertions(+), 23 deletions(-)

--
2.25.1