diff options
author | Len Brown <len.brown@intel.com> | 2012-06-03 23:34:44 -0400 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2012-06-03 23:47:49 -0400 |
commit | 650a37f32d2bc16fa802075be579802bc4ec4132 (patch) | |
tree | c4535bf1a5a16b8dc6ae528fd8c8a9845ed1a6f9 /drivers | |
parent | d15cf7c129fa4ec4b44c52521e49ffafb9749029 (diff) | |
download | linux-650a37f32d2bc16fa802075be579802bc4ec4132.tar.bz2 |
tools/power turbostat: fix IVB support
Initial IVB support went into turbostat in Linux-3.1:
553575f1ae048aa44682b46b3c51929a0b3ad337
(tools turbostat: recognize and run properly on IVB)
However, when running on IVB, turbostat would fail
to report the new couters added with SNB, c7, pc2 and pc7.
So in scenarios where these counters are non-zero on IVB,
turbostat would report erroneous residencey results.
In particular c7 time would be added to c1 time,
since c1 time is calculated as "that which is left over".
Also, turbostat reports MHz capabilities when passed
the "-v" option, and it would incorrectly report 133MHz
bclk instead of 100MHz bclk for IVB, which would inflate
GHz reported with that option.
This patch is a backport of a fix already included in turbostat v2.
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions