Re: [PATCH v5 3/5] thermal: devfreq_cooling: Use PM QoS to set frequency limits

From: Daniel Lezcano
Date: Fri Apr 03 2020 - 13:19:41 EST


On 03/04/2020 19:18, Matthias Kaehlcke wrote:
> Hi Daniel,
>
> On Fri, Apr 03, 2020 at 06:43:20PM +0200, Daniel Lezcano wrote:
>> On 18/03/2020 12:45, Lukasz Luba wrote:
>>> From: Matthias Kaehlcke <mka@xxxxxxxxxxxx>
>>>
>>> Now that devfreq supports limiting the frequency range of a device
>>> through PM QoS make use of it instead of disabling OPPs that should
>>> not be used.
>>>
>>> The switch from disabling OPPs to PM QoS introduces a subtle behavioral
>>> change in case of conflicting requests (min > max): PM QoS gives
>>> precedence to the MIN_FREQUENCY request, while higher OPPs disabled
>>> with dev_pm_opp_disable() would override MIN_FREQUENCY.
>>>
>>> Signed-off-by: Matthias Kaehlcke <mka@xxxxxxxxxxxx>
>>> Reviewed-by: Lukasz Luba <lukasz.luba@xxxxxxx>
>>> Reviewed-by: Chanwoo Choi <cw00.choi@xxxxxxxxxxx>
>>
>> This patch is standalone, right? If yes, I will apply it.
>
> Yes, it is standalone, please apply

Applied on 'testing', thanks


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