]> www.infradead.org Git - users/jedix/linux-maple.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)
committerDhaval Giani <dhaval.giani@oracle.com>
Mon, 16 Jan 2017 20:11:05 +0000 (15:11 -0500)
commitc182bd839ed7ac308bfed5cd1a3b1a940d498c30
tree4f4dc15a9d3639b5ae7e8fb86588f643e5d98bdd
parentbd7b502911e8269fd40e7dc0e1a524df750e2a80
tools/power turbostat: Intel Xeon x200: fix erroneous bclk value

Orabug: 24811361

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>
(cherry picked from commit 121b48bb77187cf2ed3053e147d2e6c1e864083c)
Signed-off-by: Brian Maly <brian.maly@oracle.com>
Signed-off-by: Dhaval Giani <dhaval.giani@oracle.com>
tools/power/x86/turbostat/turbostat.c