Re: [PATCH V3 2/3] arm64: topology: Reorder init_amu_fie() a bit

2020-12-15 Thread Ionela Voinescu
On Tuesday 15 Dec 2020 at 11:04:15 (+0530), Viresh Kumar wrote: > This patch does a couple of optimizations in init_amu_fie(), like early > exits from paths where we don't need to continue any further, avoid the > enable/disable dance, moving the calls to > topology_scale_freq_invariant() just when

[PATCH V3 2/3] arm64: topology: Reorder init_amu_fie() a bit

2020-12-14 Thread Viresh Kumar
This patch does a couple of optimizations in init_amu_fie(), like early exits from paths where we don't need to continue any further, avoid the enable/disable dance, moving the calls to topology_scale_freq_invariant() just when we need them, instead of at the top of the routine, and avoiding callin