Re: [PATCH v4 2/3] arm64: split counter validation function

From: Sudeep Holla
Date: Fri Nov 13 2020 - 09:13:06 EST


On Fri, Nov 06, 2020 at 12:53:33PM +0000, Ionela Voinescu wrote:
> In order for the counter validation function to be reused, split
> validate_cpu_freq_invariance_counters() into:
> - freq_counters_valid(cpu) - check cpu for valid cycle counters
> - freq_inv_set_max_ratio(int cpu, u64 max_rate, u64 ref_rate) -
> generic function that sets the normalization ratio used by
> topology_scale_freq_tick()
>

Reviewed-by: Sudeep Holla <sudeep.holla@xxxxxxx>

--
Regards,
Sudeep