Re: [PATCH 1/2] Documentation: power: Add description about new callback for EM registration

From: Lukasz Luba
Date: Wed Nov 10 2021 - 15:50:26 EST




On 11/10/21 8:28 PM, Rafael J. Wysocki wrote:
On Tue, Nov 9, 2021 at 11:38 AM Lukasz Luba <lukasz.luba@xxxxxxx> wrote:

Hi Rafael,


On 11/2/21 6:01 PM, Lukasz Luba wrote:
The Energy Model (EM) registration for CPUs should now be done using
a dedicated callback added recently into CPUFreq framework and drivers.

Commit c17495b01b72 ("cpufreq: Add callback to register with energy model")

The callback guaranties that the EM registration is called at the right
time during driver setup. To avoid mistakes update the documentation
to align with the existing code implementation.

Signed-off-by: Lukasz Luba <lukasz.luba@xxxxxxx>
---
Documentation/power/energy-model.rst | 31 ++++++++++++++--------------
1 file changed, 16 insertions(+), 15 deletions(-)



Gentle ping. Could you have a look at these documentation
two patches and maybe pick them, please?
They are trying to solve some confusion discussed with our partners
recently.

Both applied as 5.16-rc material now, thanks!


Thank you Rafael!