mbox series

[v5,0/7] AMD Pstate Enhancement And Issue Fixs

Message ID 20220814163548.326686-1-Perry.Yuan@amd.com
Headers show
Series AMD Pstate Enhancement And Issue Fixs | expand

Message

Yuan, Perry Aug. 14, 2022, 4:35 p.m. UTC
This patchsets 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

v4->v5:
- drop the amd precision boost mode control patch
- combine acpi_cpc_valid() changes into single patch
- pick up Reviewed-by flags by Huang Ray

v3->v4:
- check cached bit for core performance boost from hardware configuration
  register
- pick up the Acked-by flags from Viresh and Sudeep

v2->v3:
- drop cpufreq cpu release and acquire export patch
- remove the clamp_t in the amd_pstate_adjust_perf()

v1->v2:
- add two new patches to remove the acpi_disabled check
- fix some typos in the commit info
- move the clamp_t() into amd_pstate_update() function
- rebased to 5.19-rc5

Perry Yuan (7):
  cpufreq: amd-pstate: cleanup the unused and duplicated headers
    declaration
  cpufreq: amd-pstate: simplify cpudata pointer assignment
  cpufreq: amd-pstate: fix white-space
  cpufreq: amd_pstate: fix wrong lowest perf fetch
  cpufreq: amd_pstate: map desired perf into pstate scope for powersave
    governor
  cpufreq: amd-pstate: update pstate frequency transition delay time
  cpufreq: amd-pstate: add ACPI disabled check in acpi_cpc_valid()

 drivers/acpi/cppc_acpi.c       |  3 +++
 drivers/base/arch_topology.c   |  2 +-
 drivers/cpufreq/amd-pstate.c   | 32 ++++++++++----------------------
 drivers/cpufreq/cppc_cpufreq.c |  2 +-
 4 files changed, 15 insertions(+), 24 deletions(-)