]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
tools/power turbostat: use new MSR_TURBO_RATIO_LIMIT names
authorLen Brown <len.brown@intel.com>
Mon, 13 Apr 2015 20:08:18 +0000 (16:08 -0400)
committerLen Brown <len.brown@intel.com>
Sat, 18 Apr 2015 18:20:50 +0000 (14:20 -0400)
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>
tools/power/x86/turbostat/turbostat.c

index 9bf6ca9f53524d76720a2e2297bd9c57d351f67b..b699a0eb57cbb0a9fbbc46f76ab96c3de0e02820 100644 (file)
@@ -1105,9 +1105,9 @@ void dump_system_config_info(void)
        if (!do_ivt_turbo_ratio_limit)
                goto print_nhm_turbo_ratio_limits;
 
-       get_msr(0, MSR_IVT_TURBO_RATIO_LIMIT, &msr);
+       get_msr(0, MSR_TURBO_RATIO_LIMIT1, &msr);
 
-       fprintf(stderr, "cpu0: MSR_IVT_TURBO_RATIO_LIMIT: 0x%08llx\n", msr);
+       fprintf(stderr, "cpu0: MSR_TURBO_RATIO_LIMIT1: 0x%08llx\n", msr);
 
        ratio = (msr >> 56) & 0xFF;
        if (ratio)
@@ -1169,9 +1169,9 @@ print_nhm_turbo_ratio_limits:
        if (!do_nhm_turbo_ratio_limit)
                return;
 
-       get_msr(0, MSR_NHM_TURBO_RATIO_LIMIT, &msr);
+       get_msr(0, MSR_TURBO_RATIO_LIMIT, &msr);
 
-       fprintf(stderr, "cpu0: MSR_NHM_TURBO_RATIO_LIMIT: 0x%08llx\n", msr);
+       fprintf(stderr, "cpu0: MSR_TURBO_RATIO_LIMIT: 0x%08llx\n", msr);
 
        ratio = (msr >> 56) & 0xFF;
        if (ratio)