> Hello,
>
> the problem is that turbo can be enabled/disabled by the firmware at runtime,
> after the machine has booted.
>
> This happens for example with the Dell XPS 13, where turbo gets disabled by
> the firmware if the machine is disconnected from AC power and runs on battery.
> The laptop
On Wed, 2020-04-29 at 09:50 +0800, Li RongQing wrote:
> move the turbo_disabled before intel_set_max_freq_ratio,
> when turbo is disabled, the max frequency ratio is a const
> value, it is unnecessary to read MSR_TURBO_RATIO* msr to
> compute
>
> Signed-off-by: Li RongQing
> ---
> arch/x86/kerne
move the turbo_disabled before intel_set_max_freq_ratio,
when turbo is disabled, the max frequency ratio is a const
value, it is unnecessary to read MSR_TURBO_RATIO* msr to
compute
Signed-off-by: Li RongQing
---
arch/x86/kernel/smpboot.c | 5 -
1 file changed, 4 insertions(+), 1 deletion(-)
3 matches
Mail list logo