[PATCH v4 1/3] arm64: wrap and generalise counter read functions
Sudeep Holla
sudeep.holla at arm.com
Fri Nov 13 09:11:51 EST 2020
On Fri, Nov 06, 2020 at 12:53:32PM +0000, Ionela Voinescu wrote:
> In preparation for other uses of Activity Monitors (AMU) cycle counters,
> place counter read functionality in generic functions that can reused:
> read_corecnt() and read_constcnt().
>
> As a result, implement update_freq_counters_refs() to replace
> init_cpu_freq_invariance_counters() and both initialise and update
> the per-cpu reference variables.
>
Reviewed-by: Sudeep Holla <sudeep.holla at arm.com>
--
Regards,
Sudeep
More information about the linux-arm-kernel
mailing list