Skip to contentSkip to conversation

amd-pstate content for 6.14 (12/18/24)

GIT PULL Mario Limonciello 2 participants 2 messages Dec 18, 2024 – Dec 19, 2024

lore
Share & tools
lore
#0 lore raw

Hello,

The following changes since commit fac04efc5c793dccbd07e2d59af9f90b7fc0dca4:

Linux 6.13-rc2 (2024-12-08 14:03:39 -0800)

are available in the Git repository at:

ssh://[email protected]/pub/scm/linux/kernel/git/superm1/linux.git tags/amd-pstate-v6.14-2024-12-18

for you to fetch changes up to 95fad7fb58cfaa2a295aa54a1f001a16b9324963:

cpufreq/amd-pstate: Drop boost_state variable (2024-12-11 10:44:53 -0600)

----------------------------------------------------------------
amd-pstate changes for 6.14

Mostly cleanups and optimizations to increase code reuse by shuffling around and using helpers.

Notable other changes:
* Add ftrace event for active mode to use
* Set default EPP policy on Ryzen

----------------------------------------------------------------
Dhananjay Ugwekar (5):
cpufreq/amd-pstate: Convert the amd_pstate_get/set_epp() to
static calls
cpufreq/amd-pstate: Move the invocation of amd_pstate_update_perf() cpufreq/amd-pstate: Refactor amd_pstate_epp_reenable() and
amd_pstate_epp_offline()
cpufreq/amd-pstate: Remove the cppc_state check in offline/online
functions
cpufreq/amd-pstate: Merge amd_pstate_epp_cpu_offline() and
amd_pstate_epp_offline()

K Prateek Nayak (1):
cpufreq/amd-pstate: Detect preferred core support before driver
registration

Mario Limonciello (15):
cpufreq/amd-pstate: Store the boost numerator as highest perf again cpufreq/amd-pstate: Use boost numerator for upper bound of
frequencies
cpufreq/amd-pstate: Add trace event for EPP perf updates cpufreq/amd-pstate: convert mutex use to guard() cpufreq/amd-pstate: Drop cached epp_policy variable cpufreq/amd-pstate: Use FIELD_PREP and FIELD_GET macros cpufreq/amd-pstate: Only update the cached value in msr_set_epp()
on success
cpufreq/amd-pstate: store all values in cpudata struct in khz cpufreq/amd-pstate: Change amd_pstate_update_perf() to return an int cpufreq/amd-pstate: Move limit updating code cpufreq/amd-pstate: Cache EPP value and use that everywhere cpufreq/amd-pstate: Always write EPP value when updating perf cpufreq/amd-pstate: Drop ret variable from
amd_pstate_set_energy_pref_index()
cpufreq/amd-pstate: Set different default EPP policy for Epyc and
Ryzen
cpufreq/amd-pstate: Drop boost_state variable

 Documentation/admin-guide/pm/amd-pstate.rst |   4 +-
 drivers/cpufreq/amd-pstate-trace.h          |  52 ++++++++++++--
 drivers/cpufreq/amd-pstate-ut.c             |  12 ++--
 drivers/cpufreq/amd-pstate.c                | 520 
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-----------------------------------------------------------------------
 drivers/cpufreq/amd-pstate.h                |   3 -
 5 files changed, 301 insertions(+), 290 deletions(-)
#1 lore raw

Hi,

Quoted 64 lines · Mario Limonciello

Hello,

The following changes since commit fac04efc5c793dccbd07e2d59af9f90b7fc0dca4:

   Linux 6.13-rc2 (2024-12-08 14:03:39 -0800)

are available in the Git repository at:

ssh://[email protected]/pub/scm/linux/kernel/git/superm1/linux.git tags/amd-pstate-v6.14-2024-12-18

for you to fetch changes up to 95fad7fb58cfaa2a295aa54a1f001a16b9324963:

   cpufreq/amd-pstate: Drop boost_state variable (2024-12-11 10:44:53 -0600)

----------------------------------------------------------------
amd-pstate changes for 6.14

Mostly cleanups and optimizations to increase code reuse by shuffling around and using helpers.

Notable other changes:
* Add ftrace event for active mode to use
* Set default EPP policy on Ryzen

----------------------------------------------------------------
Dhananjay Ugwekar (5):
cpufreq/amd-pstate: Convert the amd_pstate_get/set_epp() to
static calls
cpufreq/amd-pstate: Move the invocation of amd_pstate_update_perf() cpufreq/amd-pstate: Refactor amd_pstate_epp_reenable() and
amd_pstate_epp_offline()
cpufreq/amd-pstate: Remove the cppc_state check in offline/online
functions
cpufreq/amd-pstate: Merge amd_pstate_epp_cpu_offline() and
amd_pstate_epp_offline()

K Prateek Nayak (1):
cpufreq/amd-pstate: Detect preferred core support before driver
registration

Mario Limonciello (15):
cpufreq/amd-pstate: Store the boost numerator as highest perf again cpufreq/amd-pstate: Use boost numerator for upper bound of
frequencies
cpufreq/amd-pstate: Add trace event for EPP perf updates cpufreq/amd-pstate: convert mutex use to guard() cpufreq/amd-pstate: Drop cached epp_policy variable cpufreq/amd-pstate: Use FIELD_PREP and FIELD_GET macros cpufreq/amd-pstate: Only update the cached value in msr_set_epp()
on success
cpufreq/amd-pstate: store all values in cpudata struct in khz cpufreq/amd-pstate: Change amd_pstate_update_perf() to return an int cpufreq/amd-pstate: Move limit updating code cpufreq/amd-pstate: Cache EPP value and use that everywhere cpufreq/amd-pstate: Always write EPP value when updating perf cpufreq/amd-pstate: Drop ret variable from
amd_pstate_set_energy_pref_index()
cpufreq/amd-pstate: Set different default EPP policy for Epyc and
Ryzen
cpufreq/amd-pstate: Drop boost_state variable

Quoted 7 lines
  Documentation/admin-guide/pm/amd-pstate.rst |   4 +-
  drivers/cpufreq/amd-pstate-trace.h          |  52 ++++++++++++--
  drivers/cpufreq/amd-pstate-ut.c             |  12 ++--
  drivers/cpufreq/amd-pstate.c                | 520
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-----------------------------------------------------------------------
  drivers/cpufreq/amd-pstate.h                |   3 -
  5 files changed, 301 insertions(+), 290 deletions(-)

Pulled, thanks!