From: Mario Limonciello <superm1@kernel.org>
To: Meng Li <li.meng@amd.com>,
"Gautham R . Shenoy" <gautham.shenoy@amd.com>,
Perry Yuan <perry.yuan@amd.com>
Cc: linux-kernel@vger.kernel.org (open list:X86 ARCHITECTURE (32-BIT
AND 64-BIT)),
linux-pm@vger.kernel.org (open list:CPU FREQUENCY SCALING
FRAMEWORK),
ptr1337@cachyos.org,
Mario Limonciello <mario.limonciello@amd.com>
Subject: [PATCH 0/2] amd-pstate: Add unit tests for state machine
Date: Sat, 31 Aug 2024 21:49:10 -0500 [thread overview]
Message-ID: <20240901024912.1217014-1-superm1@kernel.org> (raw)
From: Mario Limonciello <mario.limonciello@amd.com>
The state machine for amd-pstate allows changing from any supported
mode to another. This is a relatively large matrix of possible moves
that doesn't have test coverage.
Walk through the matrix as part of amd-pstate-ut tests to make sure
that all transitions work.
Mario Limonciello (2):
cpufreq/amd-pstate: Export symbols for changing modes
cpufreq/amd-pstate-ut: Add test case for mode switches
drivers/cpufreq/amd-pstate-ut.c | 41 ++++++++++++++++++++++++++++++++-
drivers/cpufreq/amd-pstate.c | 23 ++++++++----------
drivers/cpufreq/amd-pstate.h | 14 +++++++++++
3 files changed, 64 insertions(+), 14 deletions(-)
--
2.43.0
next reply other threads:[~2024-09-01 2:49 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-09-01 2:49 Mario Limonciello [this message]
2024-09-01 2:49 ` [PATCH 1/2] cpufreq/amd-pstate: Export symbols for changing modes Mario Limonciello
2024-09-09 15:17 ` Yuan, Perry
2024-09-01 2:49 ` [PATCH 2/2] cpufreq/amd-pstate-ut: Add test case for mode switches Mario Limonciello
2024-09-09 15:24 ` Yuan, Perry
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=20240901024912.1217014-1-superm1@kernel.org \
--to=superm1@kernel.org \
--cc=gautham.shenoy@amd.com \
--cc=li.meng@amd.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pm@vger.kernel.org \
--cc=mario.limonciello@amd.com \
--cc=perry.yuan@amd.com \
--cc=ptr1337@cachyos.org \
/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;
as well as URLs for NNTP newsgroup(s).