diff options
author | Meng Li <li.meng@amd.com> | 2022-08-17 11:46:28 +0800 |
---|---|---|
committer | Shuah Khan <skhan@linuxfoundation.org> | 2022-10-05 11:05:17 -0600 |
commit | 14eb1c96e3a3fd9cd377ac9af3c7a410f8bf1015 (patch) | |
tree | f0080e74a4f71e986ba02e0c6b9e78cce7a13927 /drivers/cpufreq/Kconfig.x86 | |
parent | f1375ec1df09fb09fecfdf9418d3784e7ba12469 (diff) | |
download | linux-14eb1c96e3a3fd9cd377ac9af3c7a410f8bf1015.tar.bz2 |
cpufreq: amd-pstate: Add test module for amd-pstate driver
Add amd-pstate-ut test module, this module is used by kselftest
to unit test amd-pstate functionality. This module will be
expected by some of selftests to be present and loaded.
Signed-off-by: Meng Li <li.meng@amd.com>
Acked-by: Huang Rui <ray.huang@amd.com>
Reviewed-by: Shuah Khan <skhan@linuxfoundation.org>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
Diffstat (limited to 'drivers/cpufreq/Kconfig.x86')
-rw-r--r-- | drivers/cpufreq/Kconfig.x86 | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/cpufreq/Kconfig.x86 b/drivers/cpufreq/Kconfig.x86 index 55516043b656..fdd819069d72 100644 --- a/drivers/cpufreq/Kconfig.x86 +++ b/drivers/cpufreq/Kconfig.x86 @@ -51,6 +51,13 @@ config X86_AMD_PSTATE If in doubt, say N. +config X86_AMD_PSTATE_UT + tristate "selftest for AMD Processor P-State driver" + depends on X86 && ACPI_PROCESSOR + default n + help + This kernel module is used for testing. It's safe to say M here. + config X86_ACPI_CPUFREQ tristate "ACPI Processor P-States driver" depends on ACPI_PROCESSOR |