Re: [PATCH] cpufreq: Fix initialization with disabled boost

From: Dietmar Eggemann
Date: Mon Jun 23 2025 - 18:17:58 EST


On 18/06/2025 16:57, Christian Loehle wrote:
> On 6/18/25 15:32, Rafael J. Wysocki wrote:
>> On Mon, Jun 16, 2025 at 7:25 PM Christian Loehle
>> <christian.loehle@xxxxxxx> wrote:
>>>
>>> The boost_enabled early return in policy_set_boost() caused
>>> the boost disabled at initialization to not actually set the
>>> initial policy->max, therefore effectively enabling boost while
>>> it should have been enabled.
>>
>> Did you mean "disabled"?
>
> Yup, the latter 'enabled' should be disabled.
>
>>
>> It would be good to mention the failure scenario here too.
>>
>
> Absolutely, let me respin this in a series that provides some context, too.

I got confused as well. Is this for a dt file with some (higher) OPPs
marked with 'turbo-mode' or not?

[...]