[PATCH v7 4/8] arm64: parse cpu capacity-dmips-mhz from DT

Juri Lelli juri.lelli at arm.com
Mon Sep 12 01:56:27 PDT 2016


Hi,

On 12/09/16 10:37, Vincent Guittot wrote:
> Hi Juri,
> 
> On 5 September 2016 at 16:22, Juri Lelli <juri.lelli at arm.com> wrote:
> > With the introduction of cpu capacity-dmips-mhz bindings, CPU capacities
> > can now be calculated from values extracted from DT and information
> > coming from cpufreq. Add parsing of DT information at boot time, and
> > complement it with cpufreq information. Also, store such information
> > using per CPU variables, as we do for arm.
> >
> > Caveat: the information provided by this patch will start to be used in
> > the future. We need to #define arch_scale_cpu_capacity to something
> > provided in arch, so that scheduler's default implementation (which gets
> > used if arch_scale_cpu_capacity is not defined) is overwritten.
> >
> > Cc: Catalin Marinas <catalin.marinas at arm.com>
> > Cc: Will Deacon <will.deacon at arm.com>
> > Cc: Mark Brown <broonie at kernel.org>
> > Cc: Sudeep Holla <sudeep.holla at arm.com>
> > Signed-off-by: Juri Lelli <juri.lelli at arm.com>
> 
> Acked-by: Vincent Guittot <vincent.guittot at linaro.org>
> 

Thanks!

Best,

- Juri



More information about the linux-arm-kernel mailing list