lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Fri, 9 Oct 2020 10:16:17 +0100
From:   Lukasz Luba <lukasz.luba@....com>
To:     rjw@...ysocki.net
Cc:     linux-kernel@...r.kernel.org, linux-pm@...r.kernel.org,
        linux-doc@...r.kernel.org, devicetree@...r.kernel.org,
        robh+dt@...nel.org, amitk@...nel.org, corbet@....net,
        daniel.lezcano@...aro.org, Dietmar.Eggemann@....com,
        qperret@...gle.com, dianders@...omium.org, mka@...omium.org,
        rnayak@...eaurora.org
Subject: Re: [PATCH v2 0/3] Clarify abstract scale usage for power values in
 Energy Model, EAS and IPA

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/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ