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

2016-08-09 Thread Juri Lelli
Hi, this patch needs the fix below, since platforms can boot without a cpu-map. On 19/07/16 13:40, Juri Lelli wrote: [...] > @@ -185,6 +328,8 @@ static int __init parse_dt_topology(void) > if (ret != 0) > goto out_map; > > + normalize_cpu_capacity(); > + > /* >

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

2016-07-19 Thread Juri Lelli
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 variab