Re: [PATCH 6.12.y] drm/imagination: Synchronize interrupts before suspending the GPU

From: Alessio Belle

Date: Tue May 26 2026 - 04:16:06 EST


Hi Sasha,

On Sun, 2026-05-24 at 08:09 -0400, Sasha Levin wrote:
> > commit 2d7f05cddf4c268cc36256a2476946041dbdd36d upstream.
> >
> > The runtime PM suspend callback doesn't know whether the IRQ handler is
> > in progress on a different CPU core and doesn't wait for it to finish.
> > [...]
> > This version of the patch contains only the part of the upstream commit
> > that applies to 6.12; the rest was a revert of code added in 6.16.
>
> The diff itself is fine and the synchronize_irq() portion is exactly
> what we want on 6.12.y. However, the backport drops several trailers
> from the upstream commit that we'd like to preserve verbatim on
> stable:
>
>   - Reviewed-by: Matt Coster <matt.coster@xxxxxxxxxx>
>   - Link: https://patch.msgid.link/... (the upstream Link: trailer)
>   - Signed-off-by: Matthew Brost (the upstream maintainer SoB that
>     landed the patch upstream)

For this last one, I assume you meant Matt Coster?

>
> The upstream Fixes: tag also lists two entries:
>
>   Fixes: cc1aeedb98ad ("drm/imagination: Implement firmware ...")
>   Fixes: 96822d38ff57 ("drm/imagination: Implement Rogue safety event IRQs")
>
> Your backport keeps only the first. I agree the second Fixes: refers
> to code that doesn't exist on 6.12, but please keep it in the commit
> message anyway so the trailers match upstream verbatim; stable
> convention is to preserve the upstream trailer block unchanged.

I wasn't aware of this, thanks.

>
> Could you send a v2 with the upstream trailers (Reviewed-by, Link,
> SoB, both Fixes:) restored?
>

Done now, with the assumption above.

--
Thanks,
Alessio