OSDN Git Service

tools/power turbostat: fix Skylake Xeon package C-state display
authorArtem Bityutskiy <artem.bityutskiy@linux.intel.com>
Fri, 4 Aug 2017 15:42:23 +0000 (18:42 +0300)
committerLen Brown <len.brown@intel.com>
Fri, 1 Jun 2018 16:13:03 +0000 (12:13 -0400)
commit2085e12441dc90a126a5f279b3ef03daade901cf
treef0595d40231939d32021e3ad03ed877d6910349f
parent41a233dcbe7dfac00da74d703d4e5f6fe17c5f63
tools/power turbostat: fix Skylake Xeon package C-state display

Turbostat neglects to display all package C-states for some Skylake Xeon BIOS configurations.

This is due to a typo in the table decoding MSR_PKG_CST_CONFIG_CONTROL (0x000000e2)

Here we fix that typo, according to Intel SDM, vol 4, Table 2-41 -
"MSRs Supported by Intel® Xeon® Processor Scalable Family with DisplayFamily_DisplayModel 06_55H".

Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
tools/power/x86/turbostat/turbostat.c