mbox series

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

Message ID 9b23785c-9aa9-44d2-9bca-0f4fbc9bbc70@amd.com
State New
Headers show
Series [GIT,PULL] amd-pstate content for 6.15 (3/3/25) | expand

Pull-request

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

Message

Mario Limonciello March 3, 2025, 10:10 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 
amd-pstate-v6.15-2025-03-03
  
  
  
                                                                 for you 
to fetch changes up to 9e64cfbb06a534089ae4fc9174c01cd91323d505:

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

----------------------------------------------------------------
amd-pstate content for 6.15 (3/3/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.
  
  
  
  
----------------------------------------------------------------
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(-)

Comments

Rafael J. Wysocki March 5, 2025, 3:22 p.m. UTC | #1
On Mon, Mar 3, 2025 at 11:10 PM Mario Limonciello
<mario.limonciello@amd.com> wrote:
>
> 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
> amd-pstate-v6.15-2025-03-03
>
>
>
>                                                                  for you
> to fetch changes up to 9e64cfbb06a534089ae4fc9174c01cd91323d505:
>
>    cpufreq/amd-pstate: Drop actions in amd_pstate_epp_cpu_offline()
> (2025-03-01 06:45:50 -0600)
>
> ----------------------------------------------------------------
> amd-pstate content for 6.15 (3/3/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.
>
>
>
>
> ----------------------------------------------------------------
> 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(-)

Pulled and added to linux-pm.git/linux-next, thanks!