Re: CPUID: Check for PTM and HWP features

2016-09-15 Thread Paul Irofti
Thanks for noticing this! Here's an updated diff. I also included Hardware Duty Cycling (HDC) tests. Index: arch/amd64/include/specialreg.h === RCS file: /cvs/src/sys/arch/amd64/include/specialreg.h,v retrieving revision 1.48 diff -

Re: CPUID: Check for PTM and HWP features

2016-09-15 Thread Jonathan Gray
On Thu, Sep 15, 2016 at 01:42:33PM +0300, Paul Irofti wrote: > Hi, > > The following diff adds checks for Package Thermal Management and > Hardware P-states in the Thermal and Power Management CPUID Leaf. > > I also added the the Hardware P-States MSRs for a Skylake firmware fix > that I will sen

CPUID: Check for PTM and HWP features

2016-09-15 Thread Paul Irofti
Hi, The following diff adds checks for Package Thermal Management and Hardware P-states in the Thermal and Power Management CPUID Leaf. I also added the the Hardware P-States MSRs for a Skylake firmware fix that I will send later toady. I don't mind if that should go in a separate commit. Tested