]> git.baikalelectronics.ru Git - kernel.git/commit
cpufreq: amd-pstate: Add explanation for X86_AMD_PSTATE_UT
authorMeng Li <li.meng@amd.com>
Thu, 8 Sep 2022 00:28:21 +0000 (08:28 +0800)
committerShuah Khan <skhan@linuxfoundation.org>
Wed, 5 Oct 2022 17:05:18 +0000 (11:05 -0600)
commit8a10fc6efe4ff3346951f892e1ff20e27df2e4a7
tree91ec96863b592b5403e809d619c3aef6793148b7
parent1c4f6ff22594f596f10d09931465b73c1eee675e
cpufreq: amd-pstate: Add explanation for X86_AMD_PSTATE_UT

This kernel module is used for testing. It's safe to say M here.
It can also be built-in without X86_AMD_PSTATE enabled.
Currently, only tests for amd-pstate are supported. If X86_AMD_PSTATE
is set disabled, it can tell the users test can only run on amd-pstate
driver, please set X86_AMD_PSTATE enabled.
In the future, comparison tests will be added. It can set amd-pstate
disabled and set acpi-cpufreq enabled to run test cases, then compare
the test results.

Suggested-by: Shuah Khan <skhan@linuxfoundation.org>
Signed-off-by: Meng Li <li.meng@amd.com>
Acked-by: Huang Rui <ray.huang@amd.com>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
drivers/cpufreq/Kconfig.x86
tools/testing/selftests/amd-pstate/amd-pstate-ut.sh