From mboxrd@z Thu Jan 1 00:00:00 1970 From: Juri Lelli Subject: Re: [PATCH v7 4/8] arm64: parse cpu capacity-dmips-mhz from DT Date: Mon, 12 Sep 2016 09:56:27 +0100 Message-ID: <20160912085627.GN10409@e106622-lin> References: <1473085372-2840-1-git-send-email-juri.lelli@arm.com> <1473085372-2840-5-git-send-email-juri.lelli@arm.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org To: Vincent Guittot Cc: linux-kernel , "linux-pm@vger.kernel.org" , LAK , "devicetree@vger.kernel.org" , Peter Zijlstra , Rob Herring , Mark Rutland , Russell King - ARM Linux , Sudeep Holla , Lorenzo Pieralisi , Catalin Marinas , Will Deacon , Morten Rasmussen , Dietmar Eggemann , Mark Brown List-Id: devicetree@vger.kernel.org Hi, On 12/09/16 10:37, Vincent Guittot wrote: > Hi Juri, > > On 5 September 2016 at 16:22, Juri Lelli 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 > > Cc: Will Deacon > > Cc: Mark Brown > > Cc: Sudeep Holla > > Signed-off-by: Juri Lelli > > Acked-by: Vincent Guittot > Thanks! Best, - Juri