Re: [PATCH v6 09/10] thermal: devfreq_cooling: Refactor code and switch to use Energy Model

From: Daniel Lezcano
Date: Fri Apr 24 2020 - 06:43:30 EST


On 24/04/2020 12:02, Lukasz Luba wrote:
> Hi Daniel,
>
> On 4/23/20 6:57 PM, Daniel Lezcano wrote:
>> On Fri, Apr 10, 2020 at 09:42:09AM +0100, Lukasz Luba wrote:
>>> The overhauled Energy Model (EM) framework support also devfreq devices.
>>> The unified API interface of the EM can be used in the thermal
>>> subsystem to
>>> not duplicate code. The power table now is taken from EM structure and
>>> there is no need to maintain calculation for it locally. In case when
>>> the
>>> EM is not provided by the device a simple interface for cooling
>>> device is
>>> used.
>>>
>>> [lkp: Reported the build warning]
>>> Reported-by: kbuild test robot <lkp@xxxxxxxxx>
>>> Reviewed-by: Steven Rostedt (VMware) <rostedt@xxxxxxxxxxx> # for
>>> tracing code
>>> Signed-off-by: Lukasz Luba <lukasz.luba@xxxxxxx>
>>
>> Is it possible to split this patch into smaller parts? It is hard to
>> understand
>> what is related to the em conversion and other changes which look not
>> related
>> so far.
>>
>
> No problem, I will do the split (it will be in the v7).

Thanks Lukasz


--
<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