From: Mario Limonciello <mario.limonciello@amd.com>
To: "Rafael J. Wysocki" <rafael@kernel.org>
Cc: Linux PM <linux-pm@vger.kernel.org>,
"Ugwekar, Dhananjay" <dhananjay.ugwekar@amd.com>,
Stephen Rothwell <sfr@canb.auug.org.au>
Subject: [GIT PULL] amd-pstate content for 6.15 3/6/25 (redo of 3/3/25 tag)
Date: Thu, 6 Mar 2025 14:17:02 -0600 [thread overview]
Message-ID: <206f245c-d6f6-4dcd-a2f8-643c8100622d@amd.com> (raw)
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(-)
next reply other threads:[~2025-03-06 20:17 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-03-06 20:17 Mario Limonciello [this message]
2025-03-06 20:32 ` [GIT PULL] amd-pstate content for 6.15 3/6/25 (redo of 3/3/25 tag) Rafael J. Wysocki
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=206f245c-d6f6-4dcd-a2f8-643c8100622d@amd.com \
--to=mario.limonciello@amd.com \
--cc=dhananjay.ugwekar@amd.com \
--cc=linux-pm@vger.kernel.org \
--cc=rafael@kernel.org \
--cc=sfr@canb.auug.org.au \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.