tools/power turbostat: Display HWP OOB status
authorSrinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Fri, 11 Nov 2016 22:29:48 +0000 (14:29 -0800)
committerLen Brown <len.brown@intel.com>
Thu, 1 Dec 2016 06:33:20 +0000 (01:33 -0500)
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>
tools/power/x86/turbostat/turbostat.c

index 89c31e90a85e533fc46aca5f9163b307ebae04ae..83d1fb9750aadcf4b9bfd8b3dfde6d837139f5ee 100644 (file)
@@ -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()