From: Wyes Karny <wyes.karny@amd.com>
To: <trenn@suse.com>, <shuah@kernel.org>
Cc: <linux-pm@vger.kernel.org>, <linux-kernel@vger.kernel.org>,
<rafael@kernel.org>, <gautham.shenoy@amd.com>,
<Mario.Limonciello@amd.com>, <Ray.Huang@amd.com>,
<Perry.Yuan@amd.com>, Wyes Karny <wyes.karny@amd.com>
Subject: [PATCH v2 0/5] cpupower: Add various feature control support for amd_pstate
Date: Fri, 16 Jun 2023 12:06:15 +0000 [thread overview]
Message-ID: <20230616120620.147643-1-wyes.karny@amd.com> (raw)
In this series, three feature control support for amd_pstate has been
added.
1. EPP: User can control Energy Performance Preference (EPP) value,
which conveys user's performance vs energy preference to platform. This
feature is present on amd_pstate and intel_pstate active mode.
2. amd_pstate mode switch: amd_pstate has various working modes such as
'active', 'passive' and 'guided', which can be changed dynamically.
3. Turbo boost: Turbo boost feature is present in amd_pstate as well as
acpi-cpufreq. By default this is enabled, but user can control this
feature dynamically.
These features can be controlled with `cpupower set` command. The
options are respectively --epp, --amd-pstate-mode, --turbo-boost
Also, make cpupower recognise amd-pstate-epp driver.
Changelog:
v1->v2:
- Drop patch 1, which was amd-pstate-epp driver rename change.
- Picked ACKs from Ray.
Wyes Karny (5):
cpupower: Recognise amd-pstate active mode driver
cpupower: Add is_valid_path API
cpupower: Add EPP value change support
cpupower: Add support for amd_pstate mode change
cpupower: Add turbo-boost support in cpupower
tools/power/cpupower/lib/cpupower.c | 7 +++
tools/power/cpupower/lib/cpupower_intern.h | 1 +
tools/power/cpupower/utils/cpupower-set.c | 65 +++++++++++++++++++-
tools/power/cpupower/utils/helpers/helpers.h | 11 ++++
tools/power/cpupower/utils/helpers/misc.c | 57 ++++++++++++++++-
5 files changed, 138 insertions(+), 3 deletions(-)
--
2.34.1
next reply other threads:[~2023-06-16 12:06 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-06-16 12:06 Wyes Karny [this message]
2023-06-16 12:06 ` [PATCH v2 1/5] cpupower: Recognise amd-pstate active mode driver Wyes Karny
2023-06-19 1:58 ` Mario Limonciello
2023-06-19 17:31 ` Wyes Karny
2023-06-19 17:37 ` Limonciello, Mario
2023-06-16 12:06 ` [PATCH v2 2/5] cpupower: Add is_valid_path API Wyes Karny
2023-06-19 1:58 ` Mario Limonciello
2023-06-16 12:09 ` [PATCH v2 3/5] cpupower: Add EPP value change support Wyes Karny
2023-06-19 1:58 ` Mario Limonciello
2023-06-16 12:10 ` [PATCH v2 4/5] cpupower: Add support for amd_pstate mode change Wyes Karny
2023-06-19 1:59 ` Mario Limonciello
2023-06-16 12:11 ` [PATCH v2 5/5] cpupower: Add turbo-boost support in cpupower Wyes Karny
2023-06-19 1:59 ` Mario Limonciello
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=20230616120620.147643-1-wyes.karny@amd.com \
--to=wyes.karny@amd.com \
--cc=Mario.Limonciello@amd.com \
--cc=Perry.Yuan@amd.com \
--cc=Ray.Huang@amd.com \
--cc=gautham.shenoy@amd.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pm@vger.kernel.org \
--cc=rafael@kernel.org \
--cc=shuah@kernel.org \
--cc=trenn@suse.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®