mbox series

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

Message ID 4985597.31r3eYUQgx@rjwysocki.net (mailing list archive)
Headers show
Series thermal: core: Reimplement locking through guards | expand

Message

Rafael J. Wysocki Oct. 10, 2024, 9:59 p.m. UTC
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!

Comments

Rafael J. Wysocki Oct. 11, 2024, 6:51 p.m. UTC | #1
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.
Rafael J. Wysocki Oct. 21, 2024, 11:08 a.m. UTC | #2
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.
Lukasz Luba Oct. 21, 2024, 10:03 p.m. UTC | #3
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
Rafael J. Wysocki Oct. 22, 2024, 9:57 a.m. UTC | #4
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!
Lukasz Luba Oct. 22, 2024, 10:21 a.m. UTC | #5
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.
Rafael J. Wysocki Oct. 22, 2024, 3:29 p.m. UTC | #6
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!