lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240901024912.1217014-1-superm1@kernel.org>
Date: Sat, 31 Aug 2024 21:49:10 -0500
From: Mario Limonciello <superm1@...nel.org>
To: Meng Li <li.meng@....com>,
	"Gautham R . Shenoy" <gautham.shenoy@....com>,
	Perry Yuan <perry.yuan@....com>
Cc: linux-kernel@...r.kernel.org (open list:X86 ARCHITECTURE (32-BIT AND 64-BIT)),
	linux-pm@...r.kernel.org (open list:CPU FREQUENCY SCALING FRAMEWORK),
	ptr1337@...hyos.org,
	Mario Limonciello <mario.limonciello@....com>
Subject: [PATCH 0/2] amd-pstate: Add unit tests for state machine

From: Mario Limonciello <mario.limonciello@....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


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ