On 22/11/2018 11:31, Viresh Kumar wrote: > On 22-11-18, 11:29, Daniel Lezcano wrote: >> Oh ... actually raw_capacity is not needed at all! > > It is required as another routine writes some values to it I believe :)
Well actually it is accessed 'later' by topology_normalize_cpu_scale() by a call from arch/arm/kernel/topology.c and arch/arm64/kernel/topology.c This code deserves a bit of rework, I don't have the time to take care of it, so I will resend with your suggestion and do some cleanup later. -- <http://www.linaro.org/> Linaro.org │ Open source software for ARM SoCs Follow Linaro: <http://www.facebook.com/pages/Linaro> Facebook | <http://twitter.com/#!/linaroorg> Twitter | <http://www.linaro.org/linaro-blog/> Blog

