This cpupower update for Linux 5.12-rc1 consists of:

- Updates to the cpupower command to add support for AMD family 0x19
  and cleanup the code to remove many of the family checks to make
  future family updates easier.

- Adding Makefile dependencies for install targets to allow building
  cpupower in parallel rather than serially.
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 <>
Reviewed-by: Robert Richter <>
Signed-off-by: Shuah Khan <>
3 files changed