Ionela Voinescu writes: > Add weak function to return the hardware maximum frequency of a CPU, > with the default implementation returning cpuinfo.max_freq, which is > the best information we can generically get from the cpufreq framework. > > The default can be overwritten by a strong function in platforms > that want to provide an alternative implementation, with more accurate > information, obtained either from hardware or firmware. > > Signed-off-by: Ionela Voinescu <ionela.voinescu@xxxxxxx> > Acked-by: Viresh Kumar <viresh.kumar@xxxxxxxxxx> > Cc: Rafael J. Wysocki <rjw@xxxxxxxxxxxxx> > Cc: Viresh Kumar <viresh.kumar@xxxxxxxxxx> Reviewed-by: Valentin Schneider <valentin.schneider@xxxxxxx>