mbox series

[v2,0/1] Improve EAS energy estimation and increase precision

Message ID 20210720094153.31097-1-lukasz.luba@arm.com
Headers show
Series Improve EAS energy estimation and increase precision | expand

Message

Lukasz Luba July 20, 2021, 9:41 a.m. UTC
Hi all,

Here is a the v2 improving EAS estimation precision. The v1 and discussion
can be found at:
https://lore.kernel.org/lkml/20210625152603.25960-1-lukasz.luba@arm.com/

changes:
v2:
- dropped first two patches
- implemented better resolution for 64-bit only machines according to
  Peter's comment and scale_load() example
- power value multiplied by 1000 not 10000
- added 'Fixes' tag, so it could be picked into stable trees easily
- extended patch descirpion with example corenr case scenario

Regards,
Lukasz


Lukasz Luba (1):
  PM: EM: Increase energy calculation precision

 include/linux/energy_model.h | 16 ++++++++++++++++
 kernel/power/energy_model.c  |  3 ++-
 2 files changed, 18 insertions(+), 1 deletion(-)

Comments

Lukasz Luba July 20, 2021, 10:18 a.m. UTC | #1
Hi Greg,

On 7/20/21 10:45 AM, Greg KH wrote:
> On Tue, Jul 20, 2021 at 10:41:53AM +0100, Lukasz Luba wrote:

[snip]

>>
>> Fixes: 27871f7a8a341ef ("PM: Introduce an Energy Model management framework")
>> Reported-by: CCJ Yeh <CCj.Yeh@mediatek.com>
>> Signed-off-by: Lukasz Luba <lukasz.luba@arm.com>
>> ---
>>   include/linux/energy_model.h | 16 ++++++++++++++++
>>   kernel/power/energy_model.c  |  3 ++-
>>   2 files changed, 18 insertions(+), 1 deletion(-)
>>
> 
> <formletter>
> 
> This is not the correct way to submit patches for inclusion in the
> stable kernel tree.  Please read:
>      https://www.kernel.org/doc/html/latest/process/stable-kernel-rules.html
> for how to do this properly.
> 
> </formletter>
> 

I shouldn't have sent to CC -stable for now.
I will create and send a dedicated patch for stable
with proper commit ID after it's merged (like I did last time).
We are heading to stable 5.4+ (so the Android could get it).

Regards,
Lukasz