diff options
| author | Simon Glass <[email protected]> | 2019-09-25 08:11:47 -0600 |
|---|---|---|
| committer | Bin Meng <[email protected]> | 2019-10-08 13:57:37 +0800 |
| commit | bdeb2bccbf40474eca8ef039ab794ba46cd971e5 (patch) | |
| tree | 8c58d5fd9d6f1c3347698a57b8e31b7073ab8b04 /arch/x86/cpu | |
| parent | ebe002cd180c4b9f7f92720acaf13e712a1cce93 (diff) | |
x86: Rename turbo ratio MSR to MSR_TURBO_RATIO_LIMIT
This MSR number is used on most modern Intel processors, so drop the
confusing NHM prefix (which might mean Nehalem).
Signed-off-by: Simon Glass <[email protected]>
Reviewed-by: Bin Meng <[email protected]>
[bmeng: drop MSR_IVT_TURBO_RATIO_LIMIT as no code uses it]
Signed-off-by: Bin Meng <[email protected]>
Diffstat (limited to 'arch/x86/cpu')
| -rw-r--r-- | arch/x86/cpu/broadwell/cpu_full.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/cpu/broadwell/cpu_full.c b/arch/x86/cpu/broadwell/cpu_full.c index bd0b2037fa1..9686cf5e0e7 100644 --- a/arch/x86/cpu/broadwell/cpu_full.c +++ b/arch/x86/cpu/broadwell/cpu_full.c @@ -346,7 +346,7 @@ static void set_max_ratio(void) /* Check for configurable TDP option */ if (turbo_get_state() == TURBO_ENABLED) { - msr = msr_read(MSR_NHM_TURBO_RATIO_LIMIT); + msr = msr_read(MSR_TURBO_RATIO_LIMIT); perf_ctl.lo = (msr.lo & 0xff) << 8; } else if (cpu_config_tdp_levels()) { /* Set to nominal TDP ratio */ |
