Commit 12bb43c6 authored by Len Brown's avatar Len Brown

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: default avatarLen Brown <len.brown@intel.com>
parent c4d30668
...@@ -1105,9 +1105,9 @@ void dump_system_config_info(void) ...@@ -1105,9 +1105,9 @@ void dump_system_config_info(void)
if (!do_ivt_turbo_ratio_limit) if (!do_ivt_turbo_ratio_limit)
goto print_nhm_turbo_ratio_limits; 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; ratio = (msr >> 56) & 0xFF;
if (ratio) if (ratio)
...@@ -1169,9 +1169,9 @@ void dump_system_config_info(void) ...@@ -1169,9 +1169,9 @@ void dump_system_config_info(void)
if (!do_nhm_turbo_ratio_limit) if (!do_nhm_turbo_ratio_limit)
return; 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; ratio = (msr >> 56) & 0xFF;
if (ratio) if (ratio)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment