Re: [PATCH 4/4] base/drivers/topology: Default dmpis-mhz if they are not set in DT

From: Daniel Lezcano
Date: Thu Nov 22 2018 - 06:12:05 EST


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