Re: [PATCH v2 00/11] thermal: core: Reimplement locking through guards

From: Lukasz Luba
Date: Mon Oct 21 2024 - 18:03:27 EST


Hi Rafael,

On 10/21/24 12:08, Rafael J. Wysocki wrote:
On Fri, Oct 11, 2024 at 8:51 PM Rafael J. Wysocki <rafael@xxxxxxxxxx> wrote:

On Fri, Oct 11, 2024 at 12:22 AM Rafael J. Wysocki <rjw@xxxxxxxxxxxxx> wrote:

Hi Everyone,

This is a continuation of

https://lore.kernel.org/linux-pm/2215082.irdbgypaU6@xxxxxxxxxxxxx/

and (quite obviously) it is based on that series.

The majority of the patches in it are new iterations of patches included in

https://lore.kernel.org/linux-pm/6100907.lOV4Wx5bFT@xxxxxxxxxxxxx/

and there is one new patch ([02/11]).

All of these patches are related to locking, but some of them are preparatory.

The series as a whole introduces guards for thermal zones and cooling devices
and uses them to re-implement locking in the thermal core. It also uses mutex
guards for thermal_list_lock and thermal_governor_lock locking.

As usual, the details are described by the individual patch changelogs.

This material is now present in the thermal-core-experimental branch
in linux-pm.git.

I gather that it is not controversial as it was covered in the PM+TC
session at the LPC and it has been around for quite a while, so I've
just queued it up for 6.13.

If it's not too late, I will do the review tomorrow.

Regards,
Lukasz