cpupower: Update msr_pstate union struct naming
authorNathan Fontenot <nathan.fontenot@amd.com>
Mon, 25 Jan 2021 17:34:36 +0000 (11:34 -0600)
committerShuah Khan <skhan@linuxfoundation.org>
Tue, 26 Jan 2021 16:39:54 +0000 (09:39 -0700)
commit629d512d682de2259179046e2364f1f1ff4232e3
tree0ea61d01a171f001e854c1a273f48ff33e020b44
parentfb7791e213a64495ec2336869b868fcd8af14346
cpupower: Update msr_pstate union struct naming

The msr_pstate union struct named fam17h_bits is misleading since
this is the struct to use for all families >= 0x17, not just
for family 0x17. Rename the bits structs to be 'pstate' (for pre
family 17h CPUs) and 'pstatedef' (for CPUs since fam 17h) to align
closer with PPR/BDKG (1) naming.

There are no functional changes as part of this update.

1: AMD Processor Programming Reference (PPR) and BIOS and
Kernel Developer's Guide (BKDG) available at:
http://developer.amd.com/resources/developer-guides-manuals

Signed-off-by: Nathan Fontenot <nathan.fontenot@amd.com>
Reviewed-by: Robert Richter <rrichter@amd.com>
Reviewed-by: skhan@linuxfoundation.org
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
tools/power/cpupower/utils/helpers/amd.c