Re: [PATCH v7 04/15] PM / EM: add support for other devices than CPUs in Energy Model

2020-05-13 Thread Lukasz Luba
On 5/11/20 2:43 PM, Quentin Perret wrote: Hey Lukasz, On Monday 11 May 2020 at 12:19:01 (+0100), Lukasz Luba wrote: @@ -27,12 +29,15 @@ struct em_perf_state { * em_perf_domain - Performance domain * @table:List of performance states, in ascending order *

[PATCH v7 04/15] PM / EM: add support for other devices than CPUs in Energy Model

2020-05-12 Thread Lukasz Luba
Add support for other devices that CPUs. The registration function does not require a valid cpumask pointer and is ready to handle new devices. Some of the internal structures has been reorganized in order to keep consistent view (like removing per_cpu pd pointers). To track usage of the Energy