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

Commit ddadb8ad authored by Srinivas Pandruvada's avatar Srinivas Pandruvada Committed by Len Brown
Browse files

tools/power turbostat: Display HWP OOB status



Display if the HWP is enabled in OOB (Out of band) mode.

Signed-off-by: default avatarSrinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Signed-off-by: default avatarLen Brown <len.brown@intel.com>
parent 5bbac26e
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -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()