Re: [Resend PATCH] topology: Set capacity_freq_ref in all cases

From: Vincent Guittot
Date: Wed Jan 31 2024 - 10:15:55 EST


On Wed, 31 Jan 2024 at 14:56, Erico Nunes <nunes.erico@xxxxxxxxx> wrote:
>
> On Wed, Jan 17, 2024 at 8:06 PM Vincent Guittot
> <vincent.guittot@xxxxxxxxxx> wrote:
> >
> > If "capacity-dmips-mhz" is not set, raw_capacity is null and we skip the
> > normalization step which includes setting per_cpu capacity_freq_ref.
> > Always register the notifier but skip the capacity normalization if
> > raw_capacity is null.
>
> I bisected an issue of cpufreq no longer working on v6.8-rc on a TI
> SK-AM62 board and it pointed me to b3edde44e5d4 ("cpufreq/schedutil:
> Use a fixed reference frequency").
> This commit does fix the issue but doesn't appear to be merged
> anywhere yet. It would be good to have this fixed before 6.8 release.

Greg has queued the patch which should show up in the next release of
the linux-next tree

>
> Tested-by: Erico Nunes <nunes.erico@xxxxxxxxx>