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

From: Erico Nunes
Date: Wed Jan 31 2024 - 08:57:07 EST


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.

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