aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/power/x86/turbostat/turbostat.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/power/x86/turbostat/turbostat.c b/tools/power/x86/turbostat/turbostat.c
index 1a3a5b436b80..33992a93148b 100644
--- a/tools/power/x86/turbostat/turbostat.c
+++ b/tools/power/x86/turbostat/turbostat.c
@@ -3943,6 +3943,9 @@ void decode_misc_enable_msr(void)
3943{ 3943{
3944 unsigned long long msr; 3944 unsigned long long msr;
3945 3945
3946 if (!genuine_intel)
3947 return;
3948
3946 if (!get_msr(base_cpu, MSR_IA32_MISC_ENABLE, &msr)) 3949 if (!get_msr(base_cpu, MSR_IA32_MISC_ENABLE, &msr))
3947 fprintf(outf, "cpu%d: MSR_IA32_MISC_ENABLE: 0x%08llx (%sTCC %sEIST %sMWAIT %sPREFETCH %sTURBO)\n", 3950 fprintf(outf, "cpu%d: MSR_IA32_MISC_ENABLE: 0x%08llx (%sTCC %sEIST %sMWAIT %sPREFETCH %sTURBO)\n",
3948 base_cpu, msr, 3951 base_cpu, msr,