Re: [PATCH v3] PM: EM: Increase energy calculation precision

From: Lukasz Luba
Date: Thu Aug 05 2021 - 06:00:09 EST




On 8/4/21 7:10 PM, Rafael J. Wysocki wrote:
On Tue, Aug 3, 2021 at 3:31 PM Lukasz Luba <lukasz.luba@xxxxxxx> wrote:

Hi Rafael,

On 8/3/21 11:27 AM, Lukasz Luba wrote:

[snip]


Fixes: 27871f7a8a341ef ("PM: Introduce an Energy Model management framework")
Reported-by: CCJ Yeh <CCj.Yeh@xxxxxxxxxxxx>
Reviewed-by: Dietmar Eggemann <dietmar.eggemann@xxxxxxx>
Signed-off-by: Lukasz Luba <lukasz.luba@xxxxxxx>
---

v3 changes:
- adjusted patch description according to Dietmar's comments
- added Dietmar's review tag
- added one empty line in the code to separate them

include/linux/energy_model.h | 16 ++++++++++++++++
kernel/power/energy_model.c | 4 +++-
2 files changed, 19 insertions(+), 1 deletion(-)


Could you take this patch via your PM tree, please?

I can do that, but do you want a Cc:stable tag on it?


No, thank you. I'll prepare a dedicated patches and send them after this
patch gets a proper commit ID. I've done similar things recently with
some thermal stuff and different stable versions [1].

Please take this patch. I will handle the stable testing, preparation
separately.

Regards,
Lukasz

[1] https://lore.kernel.org/lkml/20210514104916.19975-1-lukasz.luba@xxxxxxx/