Skip to content

amd-pstate: Add unit tests for state machine

Mario Limonciello linux-pm lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2cpufreq/amd-pstate: Export symbols for changing modesdrivers/cpufreq/amd-pstate.c drivers/cpufreq/amd-pstate.h+24 -131 reply
2/2cpufreq/amd-pstate-ut: Add test case for mode switchesdrivers/cpufreq/amd-pstate-ut.c+40 -11 reply

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchPerry Yuan
1/2R-b
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

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

From: Mario Limonciello <[email protected]>

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(-)
Signature · 1 line
2.43.0