Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1481050

Re: [PATCH v7 2/8] arm: parse cpu capacity-dmips-mhz from DT

From Juri Lelli <juri.lelli@arm.com>
Newsgroups linux.kernel
Subject Re: [PATCH v7 2/8] arm: parse cpu capacity-dmips-mhz from DT
Date 2016-09-12 11:00 +0200
Message-ID <sgvfP-VS-1@gated-at.bofh.it> (permalink)
References <se34l-4Wz-3@gated-at.bofh.it> <se3e2-50e-11@gated-at.bofh.it> <sguWu-OS-39@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Hi,

On 12/09/16 10:36, Vincent Guittot wrote:
> Hi Juri,
> 
> On 5 September 2016 at 16:22, Juri Lelli <juri.lelli@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. We keep code that can produce
> > same information, based on different DT properties and hard-coded
> > values, as fall-back for backward compatibility.
> >
> > 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: Russell King <linux@arm.linux.org.uk>
> > Signed-off-by: Juri Lelli <juri.lelli@arm.com>
> 
> Acked-by: Vincent Guittot <vincent.guittot@linaro.org>
> 

Thanks!

Best,

- Juri

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

Re: [PATCH v7 2/8] arm: parse cpu capacity-dmips-mhz from DT Vincent Guittot <vincent.guittot@linaro.org> - 2016-09-12 10:40 +0200
  Re: [PATCH v7 2/8] arm: parse cpu capacity-dmips-mhz from DT Juri Lelli <juri.lelli@arm.com> - 2016-09-12 11:00 +0200

csiph-web