diff mbox series

[Suggested-by:Shuah,Khan,1/1] cpufreq: amd-pstate: Add explanation for X86_AMD_PSTATE_UT

Message ID 20220901143313.1491951-2-li.meng@amd.com
State New
Headers show
Series [Suggested-by:Shuah,Khan,1/1] cpufreq: amd-pstate: Add explanation for X86_AMD_PSTATE_UT | expand

Commit Message

Meng, Li (Jassmine) Sept. 1, 2022, 2:33 p.m. UTC
This kernel module is used for testing. It's safe to say M here.
It can be modprobed even without amd-pstate module.
When the comparison test is performed, it can load other module
like acpi-cpufreq to test cases, then compare the test  results.
When only the test for amd-pstate is performed, it can tell the
users they loaded a wrong module like acpi-cpufreq.

Signed-off-by: Meng Li <li.meng@amd.com>
---
 drivers/cpufreq/Kconfig.x86 | 6 ++++++
 1 file changed, 6 insertions(+)
diff mbox series

Patch

diff --git a/drivers/cpufreq/Kconfig.x86 b/drivers/cpufreq/Kconfig.x86
index fdd819069d72..fd1582716c58 100644
--- a/drivers/cpufreq/Kconfig.x86
+++ b/drivers/cpufreq/Kconfig.x86
@@ -58,6 +58,12 @@  config X86_AMD_PSTATE_UT
 	help
 	  This kernel module is used for testing. It's safe to say M here.
 
+	  It can be modprobed even without amd-pstate module.
+	  When the comparison test is performed, it can load other module
+	  like acpi-cpufreq to test cases, then compare the test results.
+	  When only the test for amd-pstate is performed, it can tell the
+	  users they loaded a wrong module like acpi-cpufreq.
+
 config X86_ACPI_CPUFREQ
 	tristate "ACPI Processor P-States driver"
 	depends on ACPI_PROCESSOR