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

From: Dietmar Eggemann
Date: Thu Jan 18 2024 - 07:10:33 EST


On 17/01/2024 20:05, Vincent Guittot 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.
>
> Fixes: 9942cb22ea45 ("sched/topology: Add a new arch_scale_freq_ref() method")
> Signed-off-by: Vincent Guittot <vincent.guittot@xxxxxxxxxx>
> ---

Reviewed-by: Dietmar Eggemann <dietmar.eggemann@xxxxxxx>
Tested-by: Dietmar Eggemann <dietmar.eggemann@xxxxxxx>

(on h960 w/ and w/o capacity-dmips-mhz in dts file)

[...]