diff options
author | Nathan Fontenot <nathan.fontenot@amd.com> | 2021-01-25 18:36:23 +0100 |
---|---|---|
committer | Shuah Khan <skhan@linuxfoundation.org> | 2021-01-26 17:40:45 +0100 |
commit | 3a3ecfdb605cc8d98988012a4f88c34b4d220c21 (patch) | |
tree | 68b8c913e8b546b932342d362193ff9b6f2ca032 /tools/lib/str_error_r.c | |
parent | cpupower: Remove family arg to decode_pstates() (diff) | |
download | linux-3a3ecfdb605cc8d98988012a4f88c34b4d220c21.tar.xz linux-3a3ecfdb605cc8d98988012a4f88c34b4d220c21.zip |
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>
Diffstat (limited to 'tools/lib/str_error_r.c')
0 files changed, 0 insertions, 0 deletions