Re: [PATCH v2 1/2] arch_topology: seed capacity_freq_ref with boost-aware max freq
From: Ananthu C V
Date: Mon Sep 21 2026 - 06:33:00 EST
Hi Rafael and Vincent,
On Fri, Sep 18, 2026 at 03:32:50PM +0200, Rafael J. Wysocki (Intel) wrote:
> > We keep taking the max between freq table and cpuinfo.max_freq fo the
> > case where the boost freq is not listed is the freq table or there
> > isno freq table. Or there is another way to get teh boost freq in thsi
> > later case ?
>
> No, I think it's the only way.
>
> So init_cpu_capacity_callback() should find the highest frequency in
> the table (regardless of whether or not the "boost" flag is set) and
> set capacity_freq_ref to that one for each CPU UUIC.
>
> That's roughly what the patch does, but it can get away without adding
> a new field to struct cpufreq_policy.
>
> And the changelog needs to be rewritten to tell the true story.
Thanks for the review. I'll take the suggestions into account and spin up
another revision. The second patch also adds a max_base_freq field, so it
would be nice to know if there are comments on that.
Best,
Ananthu