OSDN Git Service

cpupower: Initial AMD P-State capability
authorHuang Rui <ray.huang@amd.com>
Tue, 22 Feb 2022 15:34:19 +0000 (23:34 +0800)
committerShuah Khan <skhan@linuxfoundation.org>
Wed, 23 Feb 2022 01:36:39 +0000 (18:36 -0700)
commit083792f368b8ceea7ae035b6641e9cef3aceb366
treec43630d689d3fde3abb0e77bda8c2c9abba33e4d
parent46c273a0958274f1e1e69f3540ae827a92e0660f
cpupower: Initial AMD P-State capability

If kernel starts the AMD P-State module, the cpupower will initial the
capability flag as CPUPOWER_CAP_AMD_PSTATE. And once AMD P-State
capability is set, it won't need to set legacy ACPI relative
capabilities anymore.

Reviewed-by: Shuah Khan <skhan@linuxfoundation.org>
Signed-off-by: Huang Rui <ray.huang@amd.com>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
tools/power/cpupower/utils/helpers/cpuid.c