Skip to content

Enable amd-pstate active mode by default

Perry Yuan linux-pm lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest4 patches 11 repliesIn review

Changes in v2 from the cover letter

* fix the 0-DAY CI Kernel build error for acpi_pm_profile_server() function, add CONFIG_ACPI check.

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4ACPI: CPPC: Add a symbol to check if the preferred profile is a serverdrivers/acpi/cppc_acpi.c include/acpi/actbl.h include/acpi/processor.h+46 -12 replies
2/4cpufreq: amd-pstate: Set a fallback policy based on preferred_profiledrivers/cpufreq/amd-pstate.c+5 -25 replies
3/4cpufreq: amd-pstate: Add a kernel config option to set default modedrivers/cpufreq/Kconfig.x86 drivers/cpufreq/amd-pstate.c include/linux/amd-pstate.h+68 -261 reply
4/4cpufreq: intel_pstate: Use the acpi_pm_profile_server() symboldrivers/cpufreq/intel_pstate.c+4 -153 replies

Reviews trailers per patch

3 of 4 patches have a Reviewed-by or Acked-by.

PatchGautham R. ShenoyHuang Rui
1/4
2/4R-b A-b
3/4R-b A-b
4/4R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/4] Enable amd-pstate active mode by default

From: Perry Yuan <[email protected]>

Active mode for amd-pstate has shown enough success now that it makes sense to enable it by default on client systems.

This series introduces a new kernel configuration option to set the default policy for amd-pstate modes for a kernel.

Server systems will by identified by the PM preferred profile and still be set as disabled by default for now.

changes from v1:
* fix the 0-DAY CI Kernel build error for acpi_pm_profile_server() function, add CONFIG_ACPI check.

Mario Limonciello (4):
ACPI: CPPC: Add a symbol to check if the preferred profile is a server
cpufreq: amd-pstate: Set a fallback policy based on preferred_profile
cpufreq: amd-pstate: Add a kernel config option to set default mode
cpufreq: intel_pstate: Use the acpi_pm_profile_server() symbol

 drivers/acpi/cppc_acpi.c       | 34 +++++++++++++++
 drivers/cpufreq/Kconfig.x86    | 17 ++++++++
 drivers/cpufreq/amd-pstate.c   | 80 ++++++++++++++++++++++------------
 drivers/cpufreq/intel_pstate.c | 19 ++------
 include/acpi/actbl.h           |  3 +-
 include/acpi/processor.h       | 10 +++++
 include/linux/amd-pstate.h     |  4 +-
 7 files changed, 123 insertions(+), 44 deletions(-)
Signature · 1 line
2.34.1