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>
This commit is contained in:
Len Brown 2016-03-13 03:21:22 -04:00
Родитель 5aea2f7f64
Коммит 6c34f160df
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -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;
}