]> asedeno.scripts.mit.edu Git - linux.git/commit
tools/power turbostat: Intel Xeon x200: fix erroneous bclk value
authorChrzaniuk, Hubert <hubert.chrzaniuk@intel.com>
Wed, 10 Feb 2016 15:35:17 +0000 (16:35 +0100)
committerLen Brown <len.brown@intel.com>
Sun, 13 Mar 2016 07:55:37 +0000 (03:55 -0400)
commit121b48bb77187cf2ed3053e147d2e6c1e864083c
tree785e5972266aabba11ed9ea5d825918acae8c929
parent2a0609c02e6558df6075f258af98a54a74b050ff
tools/power turbostat: Intel Xeon x200: fix erroneous bclk value

x200 does not enable any way to programmatically obtain bus clock
speed. Bclk for the architecture has a fixed value of 100 MHz.
At the same time x200 cannot be included in has_snb_msrs since
it does not support C7 idle state.

prior to this patch, MHz values reported on this chip
were erroneously calculated using bclk of 133MHz,
causing MHz values to be reported 33% higher than actual.

Signed-off-by: Hubert Chrzaniuk <hubert.chrzaniuk@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
tools/power/x86/turbostat/turbostat.c