Re: [PATCH 0/3] Thermal governors improvements and a fix

From: Lukasz Luba
Date: Thu Apr 22 2021 - 13:34:04 EST




On 4/22/21 6:31 PM, Daniel Lezcano wrote:
On 22/04/2021 17:36, Lukasz Luba wrote:
Hi all,

The patch set introduces one fix (patch 1/3) and two improvements, which
are possible thanks to the new helper function [1].
The patch 1/3 with a fix for fair share thermal governor is also sent
CC'ed stable, but it's hard to point a particular commit, which back
then was for fair_share.c.

The patch set should apply on top of [1].

Regards,
Lukasz

[1] https://lore.kernel.org/linux-pm/20210422114308.29684-2-lukasz.luba@xxxxxxx/

Lukasz Luba (3):
thermal: fair share: lock thermal zone while looping over instances
thermal: fair share: use __thermal_cdev_update()
thermal: power allocator: use __thermal_cdev_update()

drivers/thermal/gov_fair_share.c | 11 +++++++----
drivers/thermal/gov_power_allocator.c | 3 +--
2 files changed, 8 insertions(+), 6 deletions(-)

Applied, thanks

thanks!


Two users left of thermal_cdev_update ;)



True, I didn't dare to touch them, since that would require more
work and understandings :)