OpenCloudOS-Kernel/tools/power/cpupower/utils
Nathan Fontenot 3a3ecfdb60 cpupower: Add cpuid cap flag for MSR_AMD_HWCR support
Remove the family check for accessing the MSR_AMD_HWCR MSR and replace
it with a cpupower cap flag.

This update also allows for the removal of the local cpupower_cpu_info
variable in cpufreq_has_boost_support() since we no longer need it to
check the family.

Signed-off-by: Nathan Fontenot <nathan.fontenot@amd.com>
Reviewed-by: Robert Richter <rrichter@amd.com>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
2021-01-26 09:40:45 -07:00
..
helpers cpupower: Add cpuid cap flag for MSR_AMD_HWCR support 2021-01-26 09:40:45 -07:00
idle_monitor cpupower: Remove unneeded semicolon 2020-05-08 10:13:26 -06:00
builtin.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
cpufreq-info.c cpupower: Remove family arg to decode_pstates() 2021-01-26 09:40:39 -07:00
cpufreq-set.c cpupower: Provide online and offline CPU information 2020-10-26 13:36:24 -06:00
cpuidle-info.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 166 2019-05-30 11:26:39 -07:00
cpuidle-set.c cpupower: Provide online and offline CPU information 2020-10-26 13:36:24 -06:00
cpupower-info.c tools/power/cpupower: Read energy_perf_bias from sysfs 2020-11-16 17:42:12 +01:00
cpupower-set.c tools/power/cpupower: Read energy_perf_bias from sysfs 2020-11-16 17:42:12 +01:00
cpupower.c cpupower: Provide online and offline CPU information 2020-10-26 13:36:24 -06:00
version-gen.sh License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00