[PATCH] arm64: Properly clean up iommu-dma remnants

Will Deacon will at kernel.org
Tue May 7 02:50:38 PDT 2024


On Sat, May 04, 2024 at 05:21:12PM +0300, Dmitry Baryshkov wrote:
> On Tue, 30 Apr 2024 at 13:23, Robin Murphy <robin.murphy at arm.com> wrote:
> >
> > Thanks to the somewhat asymmetrical nature, while removing
> > iommu_setup_dma_ops() from the arch_setup_dma_ops() flow, I managed to
> > forget that arm64's teardown path was also specific to iommu-dma. Clean
> > that up to match, otherwise probe deferral will lead to the arch code
> > erroneously removing DMA ops set elsewhere.
> >
> > Reported-by: Dmitry Baryshkov <dmitry.baryshkov at linaro.org>
> > Link: https://lore.kernel.org/linux-iommu/Zi_LV28TR-P-PzXi@eriador.lumag.spb.ru/
> > Fixes: b67483b3c44e ("iommu/dma: Centralise iommu_setup_dma_ops()")
> > Signed-off-by: Robin Murphy <robin.murphy at arm.com>
> > ---
> >  arch/arm64/Kconfig          | 1 -
> >  arch/arm64/mm/dma-mapping.c | 8 --------
> >  2 files changed, 9 deletions(-)
> 
> 
> Just wanted to ping regarding the patch. It's still not a part of
> linux-next, Is it going to be picked up for 6.10?

Oops, thanks Dmitry!

Joerg -- please can you pick this one up for iommu next? It fixes a
commit you already have there, so I think it's best to keep everything
together.

FWIW:

Acked-by: Will Deacon <will at kernel.org>

Will



More information about the linux-arm-kernel mailing list