RE: [PATCH 7.2.y] iommu/arm-smmu-v3: Disable implementations during devm teardown

From: Shameer Kolothum Thodi

Date: Wed Sep 16 2026 - 09:32:25 EST




> -----Original Message-----
> From: Nicolin Chen <nicolinc@xxxxxxxxxx>
> Sent: 15 September 2026 18:10
> To: Sasha Levin <sashal@xxxxxxxxxx>; Shameer Kolothum Thodi
> <skolothumtho@xxxxxxxxxx>
> Cc: Wentao Guan <guanwentao@xxxxxxxxxxxxx>; Jason Gunthorpe
> <jgg@xxxxxxxxxx>; will@xxxxxxxxxx; linux-arm-kernel@xxxxxxxxxxxxxxxxxxx;
> iommu@xxxxxxxxxxxxxxx; stable@xxxxxxxxxxxxxxx; linux-kernel@xxxxxxxxxxxxxxx
> Subject: Re: [PATCH 7.2.y] iommu/arm-smmu-v3: Disable implementations
> during devm teardown
>
> On Mon, Sep 14, 2026 at 10:03:17PM -0400, Sasha Levin wrote:
> > > Patch itself looks good to me for v7.2 stable and v6.8 longterm.
> >
> > Queued for 6.18, thanks.
> >
> > > But v6.12 longterm might need some extra fix, Sasha?
> >
> > It does, but a different one. 6.12 has the devm teardown conversion
> > and never got 9ff145a25c5c ("iommu/tegra241-cmdqv: Fix CMD_SYNC
> > use-after-free on
> > teardown") at all, so what it is missing is that commit rather than
> > this ordering fixup. It does not apply to 6.12 as-is either, because
> > the
> > tegra241_cmdqv_destroy_vintf_user() hunk has no counterpart there.
> >
> > Could one of you send an adapted 6.12.y version with that hunk dropped?
>
> Shameer, would you mind helping backport your patch onto 6.12.y?

Sure, I will take a look.

Thanks,
Shameer