[PATCH] arm64: topology: Cleanup init_amu_fie() a bit

Viresh Kumar viresh.kumar at linaro.org
Fri Dec 11 06:05:55 EST 2020


On 10-12-20, 10:38, Ionela Voinescu wrote:
> Basically, that's functions purpose is only to make sure that invariance
> at the level of the policy is consistent: either all CPUs in a policy
> support counters and counters will be used for the scale factor, or
> either none or only some support counters and therefore the default
> cpufreq implementation will be used (arch_set_freq_scale()) for all CPUs
> in a policy.

Why is it important to have this thing at policy level ? If we are
okay with only one policy having AMUs and not the other one, then what
about only some CPUs of both the policies having it. Does it break
anything ?

-- 
viresh



More information about the linux-arm-kernel mailing list