Re: [PATCH v7 2/2] cpufreq: Add boost_freq_req QoS request
From: Viresh Kumar
Date: Thu Mar 26 2026 - 04:47:09 EST
On 26-03-26, 09:10, Pierre Gondois wrote:
> I thought there was an issue by adding boost last:
> not all policies support boost frequencies (and thus requests).
>
> So blocking_notifier_call_chain() should be called if:
>
> + if ((policy->max_freq_req && !policy->boost_supported) || +
> policy->boost_freq_req) {
>
> This was in an earlier version, but Rafael and Lifeng suggested
> to add boost_freq_req first to simplify the logic:
>
> https://lore.kernel.org/all/20260225084930.1692228-3-pierre.gondois@xxxxxxx/
Makes sense.
--
viresh