Re: [PATCH v5 03/14] PM: Introduce an Energy Model management framework

2018-08-12 Thread Rafael J. Wysocki
On Fri, Aug 10, 2018 at 2:30 PM Quentin Perret wrote: > > On Friday 10 Aug 2018 at 13:13:22 (+0200), Rafael J. Wysocki wrote: > > Something able to say how the numbers used by EM and IPA are related. :-) > > > > Do you think that IPA and EM will always need to use the same set of data > > for > >

Re: [PATCH v5 03/14] PM: Introduce an Energy Model management framework

2018-08-10 Thread Quentin Perret
On Friday 10 Aug 2018 at 13:13:22 (+0200), Rafael J. Wysocki wrote: > Something able to say how the numbers used by EM and IPA are related. :-) > > Do you think that IPA and EM will always need to use the same set of data for > the CPU? Hmm, I would say yes. Both EAS and IPA basically need some s

Re: [PATCH v5 03/14] PM: Introduce an Energy Model management framework

2018-08-10 Thread Rafael J. Wysocki
On Friday, August 10, 2018 11:12:18 AM CEST Quentin Perret wrote: > On Friday 10 Aug 2018 at 10:41:56 (+0200), Rafael J. Wysocki wrote: > > On Friday, August 10, 2018 10:15:39 AM CEST Quentin Perret wrote: [cut] > Agreed. EAS and IPA don't care about the absolute real power values, all > they car

Re: [PATCH v5 03/14] PM: Introduce an Energy Model management framework

2018-08-10 Thread Quentin Perret
On Friday 10 Aug 2018 at 10:41:56 (+0200), Rafael J. Wysocki wrote: > On Friday, August 10, 2018 10:15:39 AM CEST Quentin Perret wrote: > > On Thursday 09 Aug 2018 at 23:52:29 (+0200), Rafael J. Wysocki wrote: > > > I'm a bit concerned that the code here appears to be designed around the > > > freq

Re: [PATCH v5 03/14] PM: Introduce an Energy Model management framework

2018-08-10 Thread Rafael J. Wysocki
Hi Quentin, On Friday, August 10, 2018 10:15:39 AM CEST Quentin Perret wrote: > Hi Rafael, > > On Thursday 09 Aug 2018 at 23:52:29 (+0200), Rafael J. Wysocki wrote: > > I'm a bit concerned that the code here appears to be designed around the > > frequency domains concept which seems to be a limit

Re: [PATCH v5 03/14] PM: Introduce an Energy Model management framework

2018-08-10 Thread Quentin Perret
Hi Rafael, On Thursday 09 Aug 2018 at 23:52:29 (+0200), Rafael J. Wysocki wrote: > I'm a bit concerned that the code here appears to be designed around the > frequency domains concept which seems to be a limitation and which probably > is related to the properties of the current generation of hard

Re: [PATCH v5 03/14] PM: Introduce an Energy Model management framework

2018-08-09 Thread Rafael J. Wysocki
On Tuesday, July 24, 2018 2:25:10 PM CEST Quentin Perret wrote: > Several subsystems in the kernel (task scheduler and/or thermal at the > time of writing) can benefit from knowing about the energy consumed by > CPUs. Yet, this information can come from different sources (DT or > firmware for examp

[PATCH v5 03/14] PM: Introduce an Energy Model management framework

2018-07-24 Thread Quentin Perret
Several subsystems in the kernel (task scheduler and/or thermal at the time of writing) can benefit from knowing about the energy consumed by CPUs. Yet, this information can come from different sources (DT or firmware for example), in different formats, hence making it hard to exploit without a sta