1
0
Fork 0

tools/power turbostat: correct output for MSR_NHM_SNB_PKG_CST_CFG_CTL dump

MSR_NHM_SNB_PKG_CST_CFG_CTL: 0x1e008008 (...pkg-cstate-limit=0: unlimited)
should print as
MSR_NHM_SNB_PKG_CST_CFG_CTL: 0x1e008008 (...pkg-cstate-limit=8: unlimited)

Signed-off-by: Len Brown <len.brown@intel.com>
hifive-unleashed-5.1
Len Brown 2016-03-13 03:21:22 -04:00
parent 5aea2f7f64
commit 6c34f160df
1 changed files with 1 additions and 1 deletions

View File

@ -1532,7 +1532,7 @@ dump_nhm_cst_cfg(void)
(msr & NHM_C3_AUTO_DEMOTE) ? "demote-C3, " : "",
(msr & NHM_C1_AUTO_DEMOTE) ? "demote-C1, " : "",
(msr & (1 << 15)) ? "" : "UN",
(unsigned int)msr & 7,
(unsigned int)msr & 0xF,
pkg_cstate_limit_strings[pkg_cstate_limit]);
return;
}