[PATCH v1 0/2] driver core/PM: Two updates related to power.no_pm

Rafael J. Wysocki posted 2 patches 1 month ago
[PATCH v1 0/2] driver core/PM: Two updates related to power.no_pm
Posted by Rafael J. Wysocki 1 month ago
Hi All,

Applying this series will cause power.no_pm to be set for faux devices (so they
don't get processed unnecessarily during system-wide suspend/resume transitions)
and power.no_callbacks to be set along with power.no_pm (for consistency).

Thanks!
Re: [PATCH v1 0/2] driver core/PM: Two updates related to power.no_pm
Posted by Sudeep Holla 1 month ago
On Thu, Aug 28, 2025 at 12:55:50PM +0200, Rafael J. Wysocki wrote:
> Hi All,
> 
> Applying this series will cause power.no_pm to be set for faux devices (so they
> don't get processed unnecessarily during system-wide suspend/resume transitions)
> and power.no_callbacks to be set along with power.no_pm (for consistency).
> 

Nice, even I hadn't noticed about these before. The changes looks good
to me.

Reviewed-by: Sudeep Holla <sudeep.holla@arm.com>

--
Regards,
Sudeep
Re: [PATCH v1 0/2] driver core/PM: Two updates related to power.no_pm
Posted by Greg Kroah-Hartman 1 month ago
On Thu, Aug 28, 2025 at 12:55:50PM +0200, Rafael J. Wysocki wrote:
> Hi All,
> 
> Applying this series will cause power.no_pm to be set for faux devices (so they
> don't get processed unnecessarily during system-wide suspend/resume transitions)
> and power.no_callbacks to be set along with power.no_pm (for consistency).

Oh, nice!  I forgot about that entirely.  Should these be backported to
older kernels as well?

thanks,

greg k-h
Re: [PATCH v1 0/2] driver core/PM: Two updates related to power.no_pm
Posted by Rafael J. Wysocki 1 month ago
On Thu, Aug 28, 2025 at 1:07 PM Greg Kroah-Hartman
<gregkh@linuxfoundation.org> wrote:
>
> On Thu, Aug 28, 2025 at 12:55:50PM +0200, Rafael J. Wysocki wrote:
> > Hi All,
> >
> > Applying this series will cause power.no_pm to be set for faux devices (so they
> > don't get processed unnecessarily during system-wide suspend/resume transitions)
> > and power.no_callbacks to be set along with power.no_pm (for consistency).
>
> Oh, nice!  I forgot about that entirely.  Should these be backported to
> older kernels as well?

Doing it shouldn't hurt.

Cheers, Rafael
Re: [PATCH v1 0/2] driver core/PM: Two updates related to power.no_pm
Posted by Rafael J. Wysocki 1 month ago
On Thu, Aug 28, 2025 at 1:20 PM Rafael J. Wysocki <rafael@kernel.org> wrote:
>
> On Thu, Aug 28, 2025 at 1:07 PM Greg Kroah-Hartman
> <gregkh@linuxfoundation.org> wrote:
> >
> > On Thu, Aug 28, 2025 at 12:55:50PM +0200, Rafael J. Wysocki wrote:
> > > Hi All,
> > >
> > > Applying this series will cause power.no_pm to be set for faux devices (so they
> > > don't get processed unnecessarily during system-wide suspend/resume transitions)
> > > and power.no_callbacks to be set along with power.no_pm (for consistency).
> >
> > Oh, nice!  I forgot about that entirely.  Should these be backported to
> > older kernels as well?

So do you want me to resend these patches with suitable Cc: stable tags?

Alternatively, I can just apply them with the tags and route them
through my tree, whatever you prefer.
Re: [PATCH v1 0/2] driver core/PM: Two updates related to power.no_pm
Posted by Rafael J. Wysocki 1 month ago
On Fri, Aug 29, 2025 at 9:09 PM Rafael J. Wysocki <rafael@kernel.org> wrote:
>
> On Thu, Aug 28, 2025 at 1:20 PM Rafael J. Wysocki <rafael@kernel.org> wrote:
> >
> > On Thu, Aug 28, 2025 at 1:07 PM Greg Kroah-Hartman
> > <gregkh@linuxfoundation.org> wrote:
> > >
> > > On Thu, Aug 28, 2025 at 12:55:50PM +0200, Rafael J. Wysocki wrote:
> > > > Hi All,
> > > >
> > > > Applying this series will cause power.no_pm to be set for faux devices (so they
> > > > don't get processed unnecessarily during system-wide suspend/resume transitions)
> > > > and power.no_callbacks to be set along with power.no_pm (for consistency).
> > >
> > > Oh, nice!  I forgot about that entirely.  Should these be backported to
> > > older kernels as well?
>
> So do you want me to resend these patches with suitable Cc: stable tags?
>
> Alternatively, I can just apply them with the tags and route them
> through my tree, whatever you prefer.

In the absence of more feedback, this is what I'm going to do.
Re: [PATCH v1 0/2] driver core/PM: Two updates related to power.no_pm
Posted by Greg Kroah-Hartman 3 weeks, 6 days ago
On Wed, Sep 03, 2025 at 01:33:18PM +0200, Rafael J. Wysocki wrote:
> On Fri, Aug 29, 2025 at 9:09 PM Rafael J. Wysocki <rafael@kernel.org> wrote:
> >
> > On Thu, Aug 28, 2025 at 1:20 PM Rafael J. Wysocki <rafael@kernel.org> wrote:
> > >
> > > On Thu, Aug 28, 2025 at 1:07 PM Greg Kroah-Hartman
> > > <gregkh@linuxfoundation.org> wrote:
> > > >
> > > > On Thu, Aug 28, 2025 at 12:55:50PM +0200, Rafael J. Wysocki wrote:
> > > > > Hi All,
> > > > >
> > > > > Applying this series will cause power.no_pm to be set for faux devices (so they
> > > > > don't get processed unnecessarily during system-wide suspend/resume transitions)
> > > > > and power.no_callbacks to be set along with power.no_pm (for consistency).
> > > >
> > > > Oh, nice!  I forgot about that entirely.  Should these be backported to
> > > > older kernels as well?
> >
> > So do you want me to resend these patches with suitable Cc: stable tags?
> >
> > Alternatively, I can just apply them with the tags and route them
> > through my tree, whatever you prefer.
> 
> In the absence of more feedback, this is what I'm going to do.

Thanks, sorry for the delay, been swamped with conferences and travel :(
Re: [PATCH v1 0/2] driver core/PM: Two updates related to power.no_pm
Posted by Greg Kroah-Hartman 3 weeks, 6 days ago
On Sat, Sep 06, 2025 at 01:53:11PM +0200, Greg Kroah-Hartman wrote:
> On Wed, Sep 03, 2025 at 01:33:18PM +0200, Rafael J. Wysocki wrote:
> > On Fri, Aug 29, 2025 at 9:09 PM Rafael J. Wysocki <rafael@kernel.org> wrote:
> > >
> > > On Thu, Aug 28, 2025 at 1:20 PM Rafael J. Wysocki <rafael@kernel.org> wrote:
> > > >
> > > > On Thu, Aug 28, 2025 at 1:07 PM Greg Kroah-Hartman
> > > > <gregkh@linuxfoundation.org> wrote:
> > > > >
> > > > > On Thu, Aug 28, 2025 at 12:55:50PM +0200, Rafael J. Wysocki wrote:
> > > > > > Hi All,
> > > > > >
> > > > > > Applying this series will cause power.no_pm to be set for faux devices (so they
> > > > > > don't get processed unnecessarily during system-wide suspend/resume transitions)
> > > > > > and power.no_callbacks to be set along with power.no_pm (for consistency).
> > > > >
> > > > > Oh, nice!  I forgot about that entirely.  Should these be backported to
> > > > > older kernels as well?
> > >
> > > So do you want me to resend these patches with suitable Cc: stable tags?
> > >
> > > Alternatively, I can just apply them with the tags and route them
> > > through my tree, whatever you prefer.
> > 
> > In the absence of more feedback, this is what I'm going to do.
> 
> Thanks, sorry for the delay, been swamped with conferences and travel :(

Wait, I can take them right now, no need to resend them.

greg k-h
Re: [PATCH v1 0/2] driver core/PM: Two updates related to power.no_pm
Posted by Rafael J. Wysocki 3 weeks, 5 days ago
On Sat, Sep 6, 2025 at 1:54 PM Greg Kroah-Hartman
<gregkh@linuxfoundation.org> wrote:
>
> On Sat, Sep 06, 2025 at 01:53:11PM +0200, Greg Kroah-Hartman wrote:
> > On Wed, Sep 03, 2025 at 01:33:18PM +0200, Rafael J. Wysocki wrote:
> > > On Fri, Aug 29, 2025 at 9:09 PM Rafael J. Wysocki <rafael@kernel.org> wrote:
> > > >
> > > > On Thu, Aug 28, 2025 at 1:20 PM Rafael J. Wysocki <rafael@kernel.org> wrote:
> > > > >
> > > > > On Thu, Aug 28, 2025 at 1:07 PM Greg Kroah-Hartman
> > > > > <gregkh@linuxfoundation.org> wrote:
> > > > > >
> > > > > > On Thu, Aug 28, 2025 at 12:55:50PM +0200, Rafael J. Wysocki wrote:
> > > > > > > Hi All,
> > > > > > >
> > > > > > > Applying this series will cause power.no_pm to be set for faux devices (so they
> > > > > > > don't get processed unnecessarily during system-wide suspend/resume transitions)
> > > > > > > and power.no_callbacks to be set along with power.no_pm (for consistency).
> > > > > >
> > > > > > Oh, nice!  I forgot about that entirely.  Should these be backported to
> > > > > > older kernels as well?
> > > >
> > > > So do you want me to resend these patches with suitable Cc: stable tags?
> > > >
> > > > Alternatively, I can just apply them with the tags and route them
> > > > through my tree, whatever you prefer.
> > >
> > > In the absence of more feedback, this is what I'm going to do.
> >
> > Thanks, sorry for the delay, been swamped with conferences and travel :(

No worries.

> Wait, I can take them right now, no need to resend them.

Cool, thanks!