Re: [PATCH 0/2] cpufreq: Introduce a more generic way to boost when cpu is going online

From: Rafael J. Wysocki
Date: Wed Jan 15 2025 - 07:55:50 EST


On Wed, Jan 15, 2025 at 11:01 AM Lifeng Zheng <zhenglifeng1@xxxxxxxxxx> wrote:
>
> Since commit f37a4d6b4a2c ("cpufreq: Fix per-policy boost behavior on
> SoCs using cpufreq_boost_set_sw()") and commit 102fa9c4b439 ("cpufreq:
> Allow drivers to advertise boost enabled"), per-policy boost flag has
> already been set to mirror the cpufreq_driver boost during
> initialization. However, the current implementation doesn't work for all
> cpufreq drivers and may fail in certain situation. A more generic
> implementation is needed.

Can you please be more specific here?

What happens, why it happens and why do you think the way to go is to
reimplement this?