aboutsummaryrefslogtreecommitdiffstats
path: root/tools/power/x86/turbostat/turbostat.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/power/x86/turbostat/turbostat.c')
-rw-r--r--tools/power/x86/turbostat/turbostat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/power/x86/turbostat/turbostat.c b/tools/power/x86/turbostat/turbostat.c
index 256a5e1de381..f92211e9e70c 100644
--- a/tools/power/x86/turbostat/turbostat.c
+++ b/tools/power/x86/turbostat/turbostat.c
@@ -1919,7 +1919,7 @@ int print_epb(struct thread_data *t, struct core_data *c, struct pkg_data *p)
1919 if (get_msr(cpu, MSR_IA32_ENERGY_PERF_BIAS, &msr)) 1919 if (get_msr(cpu, MSR_IA32_ENERGY_PERF_BIAS, &msr))
1920 return 0; 1920 return 0;
1921 1921
1922 switch (msr & 0x7) { 1922 switch (msr & 0xF) {
1923 case ENERGY_PERF_BIAS_PERFORMANCE: 1923 case ENERGY_PERF_BIAS_PERFORMANCE:
1924 epb_string = "performance"; 1924 epb_string = "performance";
1925 break; 1925 break;