summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorIonela Voinescu <ionela.voinescu@arm.com>2020-11-06 12:53:33 +0000
committerCatalin Marinas <catalin.marinas@arm.com>2020-11-13 20:05:10 +0000
commitbc3b6562a1acc1f43ae84c7d69428cdd8ae1390e (patch)
tree07f11653b60d4a32efb963a0f8225eec348abc0b /include
parent4b9cf23c179a27659a95c094ace658bb92f146e5 (diff)
arm64: split counter validation function
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() Signed-off-by: Ionela Voinescu <ionela.voinescu@arm.com> Reviewed-by: Sudeep Holla <sudeep.holla@arm.com> Cc: Will Deacon <will@kernel.org> Link: https://lore.kernel.org/r/20201106125334.21570-3-ionela.voinescu@arm.com Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions