mbox series

[00/12] AMD Pstate Enhancement And Issue Fixs

Message ID 20220707164944.210616-1-Perry.Yuan@amd.com (mailing list archive)
Headers show
Series AMD Pstate Enhancement And Issue Fixs | expand

Message

Yuan, Perry July 7, 2022, 4:49 p.m. UTC
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(-)