aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLen Brown <len.brown@intel.com>2015-04-13 16:08:18 -0400
committerLen Brown <len.brown@intel.com>2015-04-18 14:20:50 -0400
commit12bb43c6150525cd53af77a1a7b9ff2752944cbd (patch)
tree20990931ff5c15ddbeadfdd03f6715d871ac05c3
parentc4d30668da689de2f27bb0b19de4430d6c95d7cf (diff)
tools/power turbostat: use new MSR_TURBO_RATIO_LIMIT names
s/MSR_NHM_TURBO_RATIO_LIMIT/MSR_TURBO_RATIO_LIMIT/ s/MSR_IVT_TURBO_RATIO_LIMIT/MSR_TURBO_RATIO_LIMIT1/ syntax only -- use the documented strings describing these registers. Signed-off-by: Len Brown <len.brown@intel.com>
-rw-r--r--tools/power/x86/turbostat/turbostat.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/power/x86/turbostat/turbostat.c b/tools/power/x86/turbostat/turbostat.c
index 9bf6ca9f5352..b699a0eb57cb 100644
--- a/tools/power/x86/turbostat/turbostat.c
+++ b/tools/power/x86/turbostat/turbostat.c
@@ -1105,9 +1105,9 @@ void dump_system_config_info(void)
1105 if (!do_ivt_turbo_ratio_limit) 1105 if (!do_ivt_turbo_ratio_limit)
1106 goto print_nhm_turbo_ratio_limits; 1106 goto print_nhm_turbo_ratio_limits;
1107 1107
1108 get_msr(0, MSR_IVT_TURBO_RATIO_LIMIT, &msr); 1108 get_msr(0, MSR_TURBO_RATIO_LIMIT1, &msr);
1109 1109
1110 fprintf(stderr, "cpu0: MSR_IVT_TURBO_RATIO_LIMIT: 0x%08llx\n", msr); 1110 fprintf(stderr, "cpu0: MSR_TURBO_RATIO_LIMIT1: 0x%08llx\n", msr);
1111 1111
1112 ratio = (msr >> 56) & 0xFF; 1112 ratio = (msr >> 56) & 0xFF;
1113 if (ratio) 1113 if (ratio)
@@ -1169,9 +1169,9 @@ print_nhm_turbo_ratio_limits:
1169 if (!do_nhm_turbo_ratio_limit) 1169 if (!do_nhm_turbo_ratio_limit)
1170 return; 1170 return;
1171 1171
1172 get_msr(0, MSR_NHM_TURBO_RATIO_LIMIT, &msr); 1172 get_msr(0, MSR_TURBO_RATIO_LIMIT, &msr);
1173 1173
1174 fprintf(stderr, "cpu0: MSR_NHM_TURBO_RATIO_LIMIT: 0x%08llx\n", msr); 1174 fprintf(stderr, "cpu0: MSR_TURBO_RATIO_LIMIT: 0x%08llx\n", msr);
1175 1175
1176 ratio = (msr >> 56) & 0xFF; 1176 ratio = (msr >> 56) & 0xFF;
1177 if (ratio) 1177 if (ratio)