[PATCH 0/2] amd-pstate: Add unit tests for state machine

Mario Limonciello posted 2 patches 1 year, 5 months ago
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(-)
[PATCH 0/2] amd-pstate: Add unit tests for state machine
Posted by Mario Limonciello 1 year, 5 months ago
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