mbox series

[v14,0/5] AMD Pstate Driver Core Performance Boost

Message ID 20240624213400.67773-1-mario.limonciello@amd.com
Headers show
Series AMD Pstate Driver Core Performance Boost | expand

Message

Mario Limonciello June 24, 2024, 9:33 p.m. UTC
This patch implements core-performance boost (CPB) for the amd-pstate
driver.

It's a follow on to v13 submitted by Perry:
https://lore.kernel.org/linux-pm/cover.1718988436.git.perry.yuan@amd.com/

v13->v14:
 * Drop cpb_boost global parameter and sysfs file.  It's unneeded right
   now; but may be introduced again in the future later.
 * Squash a few patches together due to the dropped parameter
 * Add a fix for incorrect boost value in sysfs during bootup caused by
   commit f37a4d6b4a2c ("cpufreq: Fix per-policy boost behavior on SoCs
   using cpufreq_boost_set_sw()")
 * Correct some typographical errors
 * Add Co-developed-by tag for patches I worked on or modified

Mario Limonciello (1):
  cpufreq: Only disable boost during cpu online when using frequency
    tables

Perry Yuan (4):
  cpufreq: acpi: move MSR_K7_HWCR_CPB_DIS_BIT into msr-index.h
  cpufreq: amd-pstate: initialize core precision boost state
  cpufreq: amd-pstate: Cap the CPPC.max_perf to nominal_perf if CPB is
    off
  Documentation: cpufreq: amd-pstate: update doc for Per CPU boost
    control method

 Documentation/admin-guide/pm/amd-pstate.rst |  16 +++
 arch/x86/include/asm/msr-index.h            |   2 +
 drivers/cpufreq/acpi-cpufreq.c              |   2 -
 drivers/cpufreq/amd-pstate.c                | 120 ++++++++++++++++----
 drivers/cpufreq/amd-pstate.h                |   1 +
 drivers/cpufreq/cpufreq.c                   |   3 +-
 6 files changed, 120 insertions(+), 24 deletions(-)