mbox series

[GIT,PULL] amd-pstate content for 6.15 3/6/25 (redo of 3/3/25 tag)

Message ID 206f245c-d6f6-4dcd-a2f8-643c8100622d@amd.com
State New
Headers show
Series [GIT,PULL] amd-pstate content for 6.15 3/6/25 (redo of 3/3/25 tag) | expand

Pull-request

ssh://git@gitolite.kernel.org/pub/scm/linux/kernel/git/superm1/linux.git tags/amd-pstate-v6.15-2025-03-06

Message

Mario Limonciello March 6, 2025, 8:17 p.m. UTC
The following changes since commit d082ecbc71e9e0bf49883ee4afd435a77a5101b6:

   Linux 6.14-rc4 (2025-02-23 12:32:57 -0800)

are available in the Git repository at:

  
ssh://git@gitolite.kernel.org/pub/scm/linux/kernel/git/superm1/linux.git 
tags/amd-pstate-v6.15-2025-03-06

for you to fetch changes up to efb758c8c803217e58248f03db372c5e23827dae:

   cpufreq/amd-pstate: Drop actions in amd_pstate_epp_cpu_offline() 
(2025-03-06 13:01:26 -0600)

----------------------------------------------------------------
amd-pstate content for 6.15 (3/6/25)

A lot of code optimization to avoid cases where call paths will end up 
calling
the same writes multiple times and needlessly caching variables.  To 
accomplish
this some of the writes are now made into an atomically written "perf" 
variable.
Locking has been overhauled to ensure it only applies to the necessary 
functions.
Tracing has been adjusted to ensure trace events only are used right before
writing out to the hardware.

NOTE: This is a redo of amd-pstate-v6.15-2025-03-03 with a fixed Fixes tag.

----------------------------------------------------------------
Dhananjay Ugwekar (10):
       cpufreq/amd-pstate: Modify the min_perf calculation in 
adjust_perf callback
       cpufreq/amd-pstate: Remove the redundant des_perf clamping in 
adjust_perf
       cpufreq/amd-pstate: Pass min/max_limit_perf as min/max_perf to 
amd_pstate_update
       cpufreq/amd-pstate: Convert all perf values to u8
       cpufreq/amd-pstate: Modularize perf<->freq conversion
       cpufreq/amd-pstate: Remove the unnecessary cpufreq_update_policy call
       cpufreq/amd-pstate: Add missing NULL ptr check in amd_pstate_update
       cpufreq/amd-pstate: Use scope based cleanup for cpufreq_policy refs
       cpufreq/amd-pstate: Remove the unncecessary driver_lock in 
amd_pstate_update_limits
       cpufreq/amd-pstate: Fix the clamping of perf values

Mario Limonciello (19):
       cpufreq/amd-pstate: Invalidate cppc_req_cached during suspend
       cpufreq/amd-pstate: Show a warning when a CPU fails to setup
       cpufreq/amd-pstate: Drop min and max cached frequencies
       cpufreq/amd-pstate: Move perf values into a union
       cpufreq/amd-pstate: Overhaul locking
       cpufreq/amd-pstate: Drop `cppc_cap1_cached`
       cpufreq/amd-pstate-ut: Use _free macro to free put policy
       cpufreq/amd-pstate-ut: Allow lowest nonlinear and lowest to be 
the same
       cpufreq/amd-pstate-ut: Drop SUCCESS and FAIL enums
       cpufreq/amd-pstate-ut: Run on all of the correct CPUs
       cpufreq/amd-pstate-ut: Adjust variable scope
       cpufreq/amd-pstate: Replace all AMD_CPPC_* macros with masks
       cpufreq/amd-pstate: Cache CPPC request in shared mem case too
       cpufreq/amd-pstate: Move all EPP tracing into *_update_perf and 
*_set_epp functions
       cpufreq/amd-pstate: Update cppc_req_cached for shared mem EPP writes
       cpufreq/amd-pstate: Drop debug statements for policy setting
       cpufreq/amd-pstate: Rework CPPC enabling
       cpufreq/amd-pstate: Stop caching EPP
       cpufreq/amd-pstate: Drop actions in amd_pstate_epp_cpu_offline()

  arch/x86/include/asm/msr-index.h   |  20 ++++----
  arch/x86/kernel/acpi/cppc.c        |   4 +-
  drivers/cpufreq/amd-pstate-trace.h |  57 +++++++++++----------
  drivers/cpufreq/amd-pstate-ut.c    | 211 
++++++++++++++++++++++++++++++++-------------------------------------------
  drivers/cpufreq/amd-pstate.c       | 666 
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++--------------------------------------------------------------------------------------------------------------------------------------
  drivers/cpufreq/amd-pstate.h       |  65 +++++++++++++-----------
  include/linux/cpufreq.h            |   3 ++
  7 files changed, 461 insertions(+), 565 deletions(-)