Re: [PATCH] iommu/dma: Tidy up Kconfig selects
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- To: Joerg Roedel <joro@xxxxxxxxxx>, Robin Murphy <robin.murphy@xxxxxxx>
- Subject: Re: [PATCH] iommu/dma: Tidy up Kconfig selects
- From: Marek Szyprowski <m.szyprowski@xxxxxxxxxxx>
- Date: Tue, 28 Sep 2021 12:11:33 +0200
- Cc: will@xxxxxxxxxx, iommu@xxxxxxxxxxxxxxxxxxxxxxxxxx, linux-kernel@xxxxxxxxxxxxxxx, Christoph Hellwig <hch@xxxxxx>, x86@xxxxxxxxxx, linux-ia64@xxxxxxxxxxxxxxx
- Cms-type: 201P
- In-reply-to: <YVLgw1nfEf7U13Mh@8bytes.org>
- References: <9ba6f2e8568a3ff6a94fade66668d99705433c44.1631536879.git.robin.murphy@arm.com> <CGME20210928093051eucas1p2fc69dc7b8dff175901ac2b00be6c33c7@eucas1p2.samsung.com> <YVLgw1nfEf7U13Mh@8bytes.org>
- User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.14.0
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
[Index of Archives]
[Linux Kernel]
[Sparc Linux]
[DCCP]
[Linux ARM]
[Yosemite News]
[Linux SCSI]
[Linux x86_64]
[Linux for Ham Radio]