tools/power turbostat: bugfix: TDP MSRs print bits fixing
authorChen Yu <yu.c.chen@intel.com>
Sun, 13 Dec 2015 13:09:31 +0000 (21:09 +0800)
committerLen Brown <len.brown@intel.com>
Sun, 13 Mar 2016 08:22:57 +0000 (04:22 -0400)
commit685b535b2cdb9cdf354321f8af9ed17dcf19d19f
tree3d6fd0eff20adeea47c853d6b915e40a3917d82b
parent6c34f160df82ae07bfff5b4c51f50622e9c2759e
tools/power turbostat: bugfix: TDP MSRs print bits fixing

MSR_CONFIG_TDP_NOMINAL:
should print all 8 bits of base_ratio (bit 0:7) 0xFF

MSR_CONFIG_TDP_LEVEL_1:
should print all 15 bits of PKG_MIN_PWR_LVL1 (bit 48:62) 0x7FFF
should print all 15 bits of PKG_MAX_PWR_LVL1 (bit 32:46) 0x7FFF
should print all 8 bits of LVL1_RATIO (bit 16:23) 0xFF
should print all 15 bits of PKG_TDP_LVL1 (bit 0:14) 0x7FFF

And the same modification to MSR_CONFIG_TDP_LEVEL_2.

MSR_TURBO_ACTIVATION_RATIO:
should print all 8 bits of MAX_NON_TURBO_RATIO (bit 0:7) 0xFF

Signed-off-by: Chen Yu <yu.c.chen@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
tools/power/x86/turbostat/turbostat.c
This page took 0.026293 seconds and 5 git commands to generate.