aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSrinivas Pandruvada <srinivas.pandruvada@linux.intel.com>2016-07-06 19:07:56 -0400
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2016-07-07 09:31:59 -0400
commitebf5926a001fd0d0d3fdfc2c39c0c8ff0c846c1a (patch)
treeb03d2ebde12377e1d9dfbec86f29282f1e0d33b6
parent100cf6f277665b655a442881e8e71954429af877 (diff)
tools/power turbostat: Replace MSR_NHM_TURBO_RATIO_LIMIT
Replace MSR_NHM_TURBO_RATIO_LIMIT with MSR_TURBO_RATIO_LIMIT. Signed-off-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com> Acked-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
-rw-r--r--tools/power/x86/turbostat/turbostat.82
-rw-r--r--tools/power/x86/turbostat/turbostat.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/tools/power/x86/turbostat/turbostat.8 b/tools/power/x86/turbostat/turbostat.8
index 89a55d5e32f3..492e84fbebfa 100644
--- a/tools/power/x86/turbostat/turbostat.8
+++ b/tools/power/x86/turbostat/turbostat.8
@@ -123,7 +123,7 @@ cpu0: MSR_NHM_PLATFORM_INFO: 0x80838f3012300
12335 * 100 = 3500 MHz TSC frequency 12335 * 100 = 3500 MHz TSC frequency
124cpu0: MSR_IA32_POWER_CTL: 0x0004005d (C1E auto-promotion: DISabled) 124cpu0: MSR_IA32_POWER_CTL: 0x0004005d (C1E auto-promotion: DISabled)
125cpu0: MSR_NHM_SNB_PKG_CST_CFG_CTL: 0x1e000400 (UNdemote-C3, UNdemote-C1, demote-C3, demote-C1, UNlocked: pkg-cstate-limit=0: pc0) 125cpu0: MSR_NHM_SNB_PKG_CST_CFG_CTL: 0x1e000400 (UNdemote-C3, UNdemote-C1, demote-C3, demote-C1, UNlocked: pkg-cstate-limit=0: pc0)
126cpu0: MSR_NHM_TURBO_RATIO_LIMIT: 0x25262727 126cpu0: MSR_TURBO_RATIO_LIMIT: 0x25262727
12737 * 100 = 3700 MHz max turbo 4 active cores 12737 * 100 = 3700 MHz max turbo 4 active cores
12838 * 100 = 3800 MHz max turbo 3 active cores 12838 * 100 = 3800 MHz max turbo 3 active cores
12939 * 100 = 3900 MHz max turbo 2 active cores 12939 * 100 = 3900 MHz max turbo 2 active cores
diff --git a/tools/power/x86/turbostat/turbostat.c b/tools/power/x86/turbostat/turbostat.c
index acbf7ff2ee6e..3e199b508a96 100644
--- a/tools/power/x86/turbostat/turbostat.c
+++ b/tools/power/x86/turbostat/turbostat.c
@@ -1480,7 +1480,7 @@ dump_knl_turbo_ratio_limits(void)
1480 unsigned int cores[buckets_no]; 1480 unsigned int cores[buckets_no];
1481 unsigned int ratio[buckets_no]; 1481 unsigned int ratio[buckets_no];
1482 1482
1483 get_msr(base_cpu, MSR_NHM_TURBO_RATIO_LIMIT, &msr); 1483 get_msr(base_cpu, MSR_TURBO_RATIO_LIMIT, &msr);
1484 1484
1485 fprintf(outf, "cpu%d: MSR_TURBO_RATIO_LIMIT: 0x%08llx\n", 1485 fprintf(outf, "cpu%d: MSR_TURBO_RATIO_LIMIT: 0x%08llx\n",
1486 base_cpu, msr); 1486 base_cpu, msr);