Re: [PATCH 1/3] iommu/dma: Clean up Kconfig

From: Catalin Marinas
Date: Fri Sep 02 2022 - 14:15:30 EST


On Tue, Aug 16, 2022 at 06:28:03PM +0100, Robin Murphy wrote:
> Although iommu-dma is a per-architecture chonce, that is currently
> implemented in a rather haphazard way. Selecting from the arch Kconfig
> was the original logical approach, but is complicated by having to
> manage dependencies; conversely, selecting from drivers ends up hiding
> the architecture dependency *too* well. Instead, let's just have it
> enable itself automatically when IOMMU API support is enabled for the
> relevant architectures. It can't get much clearer than that.
>
> Signed-off-by: Robin Murphy <robin.murphy@xxxxxxx>
> ---
> arch/arm64/Kconfig | 1 -

For this change:

Acked-by: Catalin Marinas <catalin.marinas@xxxxxxx>