Re: [PATCH 1/2] turbostat: Read extended processor family from CPUID

2018-07-26 Thread Len Brown
Hi Calvin, Your patch looks correct on both AMD and Intel. Thanks for noticing this, and taking the extra step to fix it! Please re-send your patch with a Signed-off-by: line, so that I can apply it. Note that first running checkpatch.pl on patches before submitting will point out such issues, s

[PATCH 1/2] turbostat: Read extended processor family from CPUID

2018-07-18 Thread Calvin Walton
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_Fn0001_EAX for how to calculate the family from the BaseFamily and

[PATCH 1/2] turbostat: Read extended processor family from CPUID

2018-07-17 Thread Calvin Walton
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_Fn0001_EAX for how to calculate the family from the BaseFamily and