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

Rafael J. Wysocki posted 11 patches 1 month, 2 weeks ago
[PATCH v2 00/11] thermal: core: Reimplement locking through guards
Posted by Rafael J. Wysocki 1 month, 2 weeks ago
Hi Everyone,

This is a continuation of

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

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@rjwysocki.net/

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.

Thanks!
Re: [PATCH v2 00/11] thermal: core: Reimplement locking through guards
Posted by Rafael J. Wysocki 1 month, 2 weeks ago
On Fri, Oct 11, 2024 at 12:22 AM Rafael J. Wysocki <rjw@rjwysocki.net> wrote:
>
> Hi Everyone,
>
> This is a continuation of
>
> https://lore.kernel.org/linux-pm/2215082.irdbgypaU6@rjwysocki.net/
>
> 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@rjwysocki.net/
>
> 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.
Re: [PATCH v2 00/11] thermal: core: Reimplement locking through guards
Posted by Rafael J. Wysocki 1 month ago
On Fri, Oct 11, 2024 at 8:51 PM Rafael J. Wysocki <rafael@kernel.org> wrote:
>
> On Fri, Oct 11, 2024 at 12:22 AM Rafael J. Wysocki <rjw@rjwysocki.net> wrote:
> >
> > Hi Everyone,
> >
> > This is a continuation of
> >
> > https://lore.kernel.org/linux-pm/2215082.irdbgypaU6@rjwysocki.net/
> >
> > 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@rjwysocki.net/
> >
> > 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.
Re: [PATCH v2 00/11] thermal: core: Reimplement locking through guards
Posted by Lukasz Luba 1 month ago
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@kernel.org> wrote:
>>
>> On Fri, Oct 11, 2024 at 12:22 AM Rafael J. Wysocki <rjw@rjwysocki.net> wrote:
>>>
>>> Hi Everyone,
>>>
>>> This is a continuation of
>>>
>>> https://lore.kernel.org/linux-pm/2215082.irdbgypaU6@rjwysocki.net/
>>>
>>> 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@rjwysocki.net/
>>>
>>> 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
Re: [PATCH v2 00/11] thermal: core: Reimplement locking through guards
Posted by Rafael J. Wysocki 1 month ago
Hi Lukasz,

On Tue, Oct 22, 2024 at 12:02 AM Lukasz Luba <lukasz.luba@arm.com> wrote:
>
> 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@kernel.org> wrote:
> >>
> >> On Fri, Oct 11, 2024 at 12:22 AM Rafael J. Wysocki <rjw@rjwysocki.net> wrote:
> >>>
> >>> Hi Everyone,
> >>>
> >>> This is a continuation of
> >>>
> >>> https://lore.kernel.org/linux-pm/2215082.irdbgypaU6@rjwysocki.net/
> >>>
> >>> 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@rjwysocki.net/
> >>>
> >>> 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.

No, it isn't, please do!
Re: [PATCH v2 00/11] thermal: core: Reimplement locking through guards
Posted by Lukasz Luba 1 month ago

On 10/22/24 10:57, Rafael J. Wysocki wrote:
> Hi Lukasz,
> 
> On Tue, Oct 22, 2024 at 12:02 AM Lukasz Luba <lukasz.luba@arm.com> wrote:
>>
>> 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@kernel.org> wrote:
>>>>
>>>> On Fri, Oct 11, 2024 at 12:22 AM Rafael J. Wysocki <rjw@rjwysocki.net> wrote:
>>>>>
>>>>> Hi Everyone,
>>>>>
>>>>> This is a continuation of
>>>>>
>>>>> https://lore.kernel.org/linux-pm/2215082.irdbgypaU6@rjwysocki.net/
>>>>>
>>>>> 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@rjwysocki.net/
>>>>>
>>>>> 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.
> 
> No, it isn't, please do!

OK, I will do that today.
Re: [PATCH v2 00/11] thermal: core: Reimplement locking through guards
Posted by Rafael J. Wysocki 1 month ago
On Tue, Oct 22, 2024 at 12:19 PM Lukasz Luba <lukasz.luba@arm.com> wrote:
>
>
>
> On 10/22/24 10:57, Rafael J. Wysocki wrote:
> > Hi Lukasz,
> >
> > On Tue, Oct 22, 2024 at 12:02 AM Lukasz Luba <lukasz.luba@arm.com> wrote:
> >>
> >> 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@kernel.org> wrote:
> >>>>
> >>>> On Fri, Oct 11, 2024 at 12:22 AM Rafael J. Wysocki <rjw@rjwysocki.net> wrote:
> >>>>>
> >>>>> Hi Everyone,
> >>>>>
> >>>>> This is a continuation of
> >>>>>
> >>>>> https://lore.kernel.org/linux-pm/2215082.irdbgypaU6@rjwysocki.net/
> >>>>>
> >>>>> 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@rjwysocki.net/
> >>>>>
> >>>>> 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.
> >
> > No, it isn't, please do!
>
> OK, I will do that today.

Thank you!