linux-pm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] amd-pstate: Add unit tests for state machine
@ 2024-09-01  2:49 Mario Limonciello
  2024-09-01  2:49 ` [PATCH 1/2] cpufreq/amd-pstate: Export symbols for changing modes Mario Limonciello
  2024-09-01  2:49 ` [PATCH 2/2] cpufreq/amd-pstate-ut: Add test case for mode switches Mario Limonciello
  0 siblings, 2 replies; 5+ messages in thread
From: Mario Limonciello @ 2024-09-01  2:49 UTC (permalink / raw)
  To: Meng Li, Gautham R . Shenoy, Perry Yuan
  Cc: open list:X86 ARCHITECTURE (32-BIT AND 64-BIT),
	open list:CPU FREQUENCY SCALING FRAMEWORK, ptr1337,
	Mario Limonciello

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


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2024-09-09 15:24 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-01  2:49 [PATCH 0/2] amd-pstate: Add unit tests for state machine Mario Limonciello
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

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).