Re: [PATCH] iommu/dma: Tidy up Kconfig selects
From: Marek Szyprowski
Date: Tue Sep 28 2021 - 06:11:41 EST
On 28.09.2021 11:30, Joerg Roedel wrote:
> On Mon, Sep 13, 2021 at 01:41:19PM +0100, Robin Murphy wrote:
>> Now that the dust has settled on converting all the x86 drivers to
>> iommu-dma, we can punt the Kconfig selection to arch code where it
>> was always intended to be.
> Can we select IOMMU_DMA under IOMMU_SUPPORT instead? The only drivers
> not using IOMMU_DMA are the arm32 ones, afaics.
>
> If we could get rid of the arm32 exception, the IOMMU_DMA symbol could
> also go away entirely and we handle it under IOMMU_SUPPORT instead. But
> that is something for the future :)
Maybe it would be a good motivation to get back to
https://lore.kernel.org/linux-iommu/cover.1597931875.git.robin.murphy@xxxxxxx/
:)
Best regards
--
Marek Szyprowski, PhD
Samsung R&D Institute Poland