]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd37480cd7694629a34819c5c7029e31d21af8f84
tree3d6fd0eff20adeea47c853d6b915e40a3917d82b
parentf7e4deb434b5cff196c83987f5f4fc292c8667ad
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