kernel_optimize_test/tools/power
Calvin Walton 5aa3d1a20a tools/power turbostat: Read extended processor family from CPUID
This fixes the reported family on modern AMD processors (e.g. Ryzen,
which is family 0x17). Previously these processors all showed up as
family 0xf.

See the document
https://support.amd.com/TechDocs/56255_OSRR.pdf
section CPUID_Fn00000001_EAX for how to calculate the family
from the BaseFamily and ExtFamily values.

This matches the code in arch/x86/lib/cpu.c

Signed-off-by: Calvin Walton <calvin.walton@kepstin.ca>
Signed-off-by: Len Brown <len.brown@intel.com>
2018-07-27 12:54:19 -04:00
..
acpi tools: power/acpi, revert to LD = gcc 2018-05-04 11:24:22 +02:00
cpupower cpupower: Remove FSF address 2017-12-15 08:27:39 -07:00
pm-graph pm-graph: AnalyzeSuspend v5.0 2018-02-21 23:56:22 +01:00
x86 tools/power turbostat: Read extended processor family from CPUID 2018-07-27 12:54:19 -04:00