aboutsummaryrefslogtreecommitdiff
path: root/arch/arm64/Kconfig
diff options
context:
space:
mode:
authorGravatar Robin Murphy <robin.murphy@arm.com> 2022-08-16 18:28:03 +0100
committerGravatar Joerg Roedel <jroedel@suse.de> 2022-09-07 14:46:59 +0200
commitde9f8a91eb32bb79149c4fc790df3b54ae710d18 (patch)
tree9e1ed798ad01c290f7fcc2d1d5808b1c562cc0a6 /arch/arm64/Kconfig
parentiommu: Clean up bus_set_iommu() (diff)
downloadlinux-de9f8a91eb32bb79149c4fc790df3b54ae710d18.tar.gz
linux-de9f8a91eb32bb79149c4fc790df3b54ae710d18.tar.bz2
linux-de9f8a91eb32bb79149c4fc790df3b54ae710d18.zip
iommu/dma: Clean up Kconfig
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@arm.com> Acked-by: Catalin Marinas <catalin.marinas@arm.com> Link: https://lore.kernel.org/r/2e33c8bc2b1bb478157b7964bfed976cb7466139.1660668998.git.robin.murphy@arm.com Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'arch/arm64/Kconfig')
-rw-r--r--arch/arm64/Kconfig1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig
index 9fb9fff08c94..ff4755fd2cb3 100644
--- a/arch/arm64/Kconfig
+++ b/arch/arm64/Kconfig
@@ -209,7 +209,6 @@ config ARM64
select HAVE_KPROBES
select HAVE_KRETPROBES
select HAVE_GENERIC_VDSO
- select IOMMU_DMA if IOMMU_SUPPORT
select IRQ_DOMAIN
select IRQ_FORCED_THREADING
select KASAN_VMALLOC if KASAN