summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorSrinivas Pandruvada <srinivas.pandruvada@linux.intel.com>2016-11-11 14:29:48 -0800
committerLen Brown <len.brown@intel.com>2016-12-01 01:33:20 -0500
commitddadb8adea76e6168c55850f2066e441880fb3d5 (patch)
tree91e0cc0c8e04b5ba394eeba502cb29367c783066 /tools
parent5bbac26eae35065a9b2a5279118daad14f88eae9 (diff)
downloadlinux-ddadb8adea76e6168c55850f2066e441880fb3d5.tar.gz
linux-ddadb8adea76e6168c55850f2066e441880fb3d5.tar.bz2
linux-ddadb8adea76e6168c55850f2066e441880fb3d5.zip
tools/power turbostat: Display HWP OOB status
Display if the HWP is enabled in OOB (Out of band) mode. Signed-off-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com> Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'tools')
-rw-r--r--tools/power/x86/turbostat/turbostat.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/tools/power/x86/turbostat/turbostat.c b/tools/power/x86/turbostat/turbostat.c
index 89c31e90a85e..83d1fb9750aa 100644
--- a/tools/power/x86/turbostat/turbostat.c
+++ b/tools/power/x86/turbostat/turbostat.c
@@ -3168,10 +3168,11 @@ void decode_misc_pwr_mgmt_msr(void)
return;
if (!get_msr(base_cpu, MSR_MISC_PWR_MGMT, &msr))
- fprintf(outf, "cpu%d: MSR_MISC_PWR_MGMT: 0x%08llx (%sable-EIST_Coordination %sable-EPB)\n",
+ fprintf(outf, "cpu%d: MSR_MISC_PWR_MGMT: 0x%08llx (%sable-EIST_Coordination %sable-EPB %sable-OOB)\n",
base_cpu, msr,
msr & (1 << 0) ? "DIS" : "EN",
- msr & (1 << 1) ? "EN" : "DIS");
+ msr & (1 << 1) ? "EN" : "DIS",
+ msr & (1 << 8) ? "EN" : "DIS");
}
void process_cpuid()