[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20241209185248.16301-1-mario.limonciello@amd.com>
Date: Mon, 9 Dec 2024 12:52:33 -0600
From: Mario Limonciello <mario.limonciello@....com>
To: "Gautham R . Shenoy" <gautham.shenoy@....com>
CC: Perry Yuan <perry.yuan@....com>, <linux-kernel@...r.kernel.org>,
<linux-pm@...r.kernel.org>, Dhananjay Ugwekar <Dhananjay.Ugwekar@....com>,
Mario Limonciello <mario.limonciello@....com>
Subject: [PATCH v3 00/15] amd-pstate fixes and improvements for 6.14
This series started as work on the behavior around boost numerator that
was changed in the last few kernels to make it more expected.
As part of the process, of these improvements I found various other
optimizations that made a lot of sense in the context of the code.
While I was working on the issues I found it was really helpful to have
ftrace for EPP, so it introduces that as well.
Lastly a bug was reported requesting that amd-pstate default policy be
changed for client systems that don't use other software after bootup
so it includes that change too.
v3:
---
* Pick up tags
* Squash two patches together
* Remove extra write to cached value
* Add comment explaining why updating two cached variables
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 | 411 ++++++++++----------
drivers/cpufreq/amd-pstate.h | 3 -
5 files changed, 250 insertions(+), 232 deletions(-)
--
2.43.0
Powered by blists - more mailing lists