Re: [PATCH v2 1/4] PM / EM: add devices to Energy Model

2020-02-14 Thread Lukasz Luba
On 2/13/20 10:59 AM, Dietmar Eggemann wrote: On 06/02/2020 14:46, lukasz.l...@arm.com wrote: From: Lukasz Luba [..] @@ -26,7 +28,7 @@ framework, and interested clients reading the data from it:: s/::/: ? | Thermal (IPA) | | Scheduler (EAS) | | Other | +---

Re: [PATCH v2 1/4] PM / EM: add devices to Energy Model

2020-02-14 Thread Dietmar Eggemann
On 06/02/2020 14:46, lukasz.l...@arm.com wrote: > From: Lukasz Luba [..] > @@ -26,7 +28,7 @@ framework, and interested clients reading the data from it:: s/::/: ? > | Thermal (IPA) | | Scheduler (EAS) | | Other | > +---+ +-+ +

Re: [PATCH v2 1/4] PM / EM: add devices to Energy Model

2020-02-10 Thread Lukasz Luba
Hi Quentin, Thank you for the review, please find my comments below. On 2/7/20 12:04 PM, Quentin Perret wrote: On Thursday 06 Feb 2020 at 13:46:37 (+), lukasz.l...@arm.com wrote: 2. Core APIs @@ -70,14 +72,16 @@ CONFIG_ENERGY_MODEL must be enabled to use the EM framework. Drivers are

[PATCH v2 1/4] PM / EM: add devices to Energy Model

2020-02-07 Thread lukasz . luba
From: Lukasz Luba Add support of other devices into the Energy Model framework not only the CPUs. Change the interface to be more unified which can handle other devices as well. Signed-off-by: Lukasz Luba --- Documentation/power/energy-model.rst | 129 + drivers/cpufreq/scmi-cpufreq.c