Searched hist:"3 a3ecfdb605cc8d98988012a4f88c34b4d220c21" (Results 1 – 3 of 3) sorted by relevance
/linux/tools/power/cpupower/utils/helpers/ |
H A D | cpuid.c | diff 3a3ecfdb605cc8d98988012a4f88c34b4d220c21 Mon Jan 25 18:36:23 CET 2021 Nathan Fontenot <nathan.fontenot@amd.com> 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>
|
H A D | misc.c | diff 3a3ecfdb605cc8d98988012a4f88c34b4d220c21 Mon Jan 25 18:36:23 CET 2021 Nathan Fontenot <nathan.fontenot@amd.com> 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>
|
H A D | helpers.h | diff 3a3ecfdb605cc8d98988012a4f88c34b4d220c21 Mon Jan 25 18:36:23 CET 2021 Nathan Fontenot <nathan.fontenot@amd.com> 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>
|