Re: [PATCH v4 0/3] PM: runtime: Auto-cleanup macros for runtime PM

From: Rafael J. Wysocki

Date: Mon Sep 29 2025 - 10:00:07 EST


On Mon, Sep 29, 2025 at 1:15 PM Jonathan Cameron
<jonathan.cameron@xxxxxxxxxx> wrote:
>
> On Fri, 26 Sep 2025 17:40:29 +0200
> "Rafael J. Wysocki" <rafael@xxxxxxxxxx> wrote:
>
> > Hi All,
> >
> > This supersedes
> >
> > https://lore.kernel.org/linux-pm/12763087.O9o76ZdvQC@rafael.j.wysocki/
> >
> > which was an update of
> >
> > https://lore.kernel.org/linux-pm/6204724.lOV4Wx5bFT@rafael.j.wysocki/
> >
> > that superseded both
> >
> > https://lore.kernel.org/linux-pm/5049058.31r3eYUQgx@rafael.j.wysocki/
> >
> > and
> >
> > https://lore.kernel.org/linux-pm/20250919163147.4743-1-tiwai@xxxxxxx/
> >
> > It follows the Jonathan's suggestion to use ACQUIRE()/ACQUIRE_ERR()
> > instead af raw CLASS() to make the code somewhat cleaner.
> >
> > Thanks!
>
> Looks excellent to me. I've already been pointing a few people at this
> in driver reviews, so I expect to see a lot of adoption in IIO (and elsewhere).
> That RPM_TRANSPARENT handling is particularly nice.
>
> With the tweaks you've already called out.
>
> Reviewed-by: Jonathan Cameron <jonathan.cameron@xxxxxxxxxx>

Thanks!

> Given timing, if this ends up as a next cycle thing please could we have
> an immutable branch? If it is going to make the merge window then no need.

I'm actually going to push it for 6.18 during the second half of the
merge window.