lkml.org 
[lkml]   [2020]   [Oct]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH v2 0/3] Clarify abstract scale usage for power values in Energy Model, EAS and IPA
From
Date
Hi Rafael,

On 10/2/20 12:44 PM, Lukasz Luba wrote:
> Hi all,
>
> The Energy Model supports power values expressed in an abstract scale.
> This has an impact on Intelligent Power Allocation (IPA) and should be
> documented properly. There is also a need to update the DT binding for the
> 'sustainable-power' and allow it to have abstract scale as well.
>
> Changes:
> v2:
> - updated sustainable power section in IPA documentation
> - updated DT binding for the 'sustainable-power'
>
> The v1 of the patch set and related discussion can be found in [1].
>
> Regards,
> Lukasz Luba
>
> [1] https://lore.kernel.org/linux-doc/20200929121610.16060-1-lukasz.luba@arm.com/
>
> Lukasz Luba (3):
> docs: Clarify abstract scale usage for power values in Energy Model
> PM / EM: update the comments related to power scale
> dt-bindings: thermal: update sustainable-power with abstract scale
>
> .../devicetree/bindings/thermal/thermal-zones.yaml | 13 +++++++++----
> .../driver-api/thermal/power_allocator.rst | 13 ++++++++++++-
> Documentation/power/energy-model.rst | 13 +++++++++++++
> Documentation/scheduler/sched-energy.rst | 5 +++++
> include/linux/energy_model.h | 11 +++++------
> kernel/power/energy_model.c | 2 +-
> 6 files changed, 45 insertions(+), 12 deletions(-)
>

Could you take patch 1/3 and patch 2/3 via your PM tree,
please? I will be very grateful.

These patches just update the documentation and comments regarding
an issue that we can have: bogoWatts in the Energy Model (and we
already have). One of the drawbacks is that we cannot derive real energy
from these numbers. Will see how this would evolve.

The patch 3/3 with dt-binding is not going to fly upstream [1].
I hope developers will put a real number in DT so we could
have real milliWatts from that source (wishful thinking).
Doug even made a script, which might be helpful for that [2].

Regards,
Lukasz

[1]
https://lore.kernel.org/linux-pm/45fae8cd-0635-41dc-c744-3c9833bf6492@arm.com/
[2]
https://lore.kernel.org/linux-pm/CAD=FV=U1FP0e3_AVHpauUUZtD-5X3XCwh5aT9fH_8S_FFML2Uw@mail.gmail.com/

\
 
 \ /
  Last update: 2020-10-09 11:17    [W:0.144 / U:1.484 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site