lkml.org 
[lkml]   [2022]   [Feb]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH 1/2] thermal: cooling: Check Energy Model type in cpufreq_cooling and devfreq_cooling
From


On 2/22/22 22:10, Daniel Lezcano wrote:
>
> Hi Lukasz,
>
> On 22/02/2022 19:31, Lukasz Luba wrote:
>>
>>
>> On 2/22/22 18:12, Daniel Lezcano wrote:
>>>
>>> Hi Lukasz,
>>>
>>> I don't think it makes sense to remove the support of the energy
>>> model if the units are abstracts.
>>>
>>> IIUC, regarding your previous answer, we don't really know what will
>>> do the SoC vendor with these numbers and likely they will provide
>>> consistent abstract values which won't prevent a correct behavior.
>>>
>>> What would be the benefit of giving inconsistent abstract values
>>> which will be unusable except of giving a broken energy model?
>>
>> The power values in the EM which has abstract scale, would make sense
>> to EAS, but not for IPA or DTPM. Those platforms which want to enable
>> EAS,
>> but don't need IPA, would register such '<a_good_name_here>' EM.
>
> Sorry, but I don't understand why DTPM can not deal with abstract values?

They will be totally meaningless/bogus.

>
>
>>> Your proposed changes would be acceptable if the energy model has a
>>> broken flag IMO
>>
>> That is doable. I can add that flag, so we can call it 'artificial' EM
>> (when this new flag is set).
>
> It is too soon IMO, I would like to see the numbers first so we can take
> an enlighten decision. Right now, it is unclear what the numbers will be.

We are going to add new support from our roadmap for platforms which
don't have this power information but are going to use EAS.

I'm going to send some patches soon which create that support. Pierre
is going to send the platform code. I want to make sure that this
platform won't register power actors for IPA. Other thermal governors
will work, since they don't use EM for making a decision.

\
 
 \ /
  Last update: 2022-02-23 10:11    [W:0.108 / U:1.508 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site