Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6c34f160 authored by Len Brown's avatar Len Brown
Browse files

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: default avatarLen Brown <len.brown@intel.com>
parent 5aea2f7f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;
}