]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
cpufreq/amd-pstate-ut: Add a unit test for raw EPP
authorMario Limonciello (AMD) <superm1@kernel.org>
Sun, 29 Mar 2026 20:38:11 +0000 (15:38 -0500)
committerMario Limonciello (AMD) <superm1@kernel.org>
Thu, 2 Apr 2026 16:30:19 +0000 (11:30 -0500)
commit7e173bc310d2b1df018edc66334a5304305889a2
tree041baa67600171149d21589bdefe4eb17d428401
parent6927f21852f38db2975b5d5539cbe5241c25a99b
cpufreq/amd-pstate-ut: Add a unit test for raw EPP

Ensure that all supported raw EPP values work properly.

Export the driver helpers used by the test module so the test can drive
raw EPP writes and temporarily disable dynamic EPP while it runs.

Reviewed-by: Gautham R. Shenoy <gautham.shenoy@amd.com>
Signed-off-by: Mario Limonciello (AMD) <superm1@kernel.org>
drivers/cpufreq/amd-pstate-ut.c
drivers/cpufreq/amd-pstate.c
drivers/cpufreq/amd-pstate.h