aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/iommu/Kconfig
diff options
context:
space:
mode:
authorJean-Philippe Brucker <jean-philippe.brucker@arm.com>2020-02-14 17:38:27 +0100
committerJoerg Roedel <jroedel@suse.de>2020-02-28 16:19:57 +0100
commitfa4afd78ea12cf31113f8b146b696c500d6a9dc3 (patch)
tree59c4daf409663555d85b5ec9c378b8656b956235 /drivers/iommu/Kconfig
parentLinux 5.6-rc3 (diff)
downloadlinux-dev-fa4afd78ea12cf31113f8b146b696c500d6a9dc3.tar.xz
linux-dev-fa4afd78ea12cf31113f8b146b696c500d6a9dc3.zip
iommu/virtio: Build virtio-iommu as module
Now that the infrastructure changes are in place, enable virtio-iommu to be built as a module. Remove the redundant pci_request_acs() call, since it's not exported but is already invoked during DMA setup. Signed-off-by: Jean-Philippe Brucker <jean-philippe.brucker@arm.com> Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'drivers/iommu/Kconfig')
-rw-r--r--drivers/iommu/Kconfig4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/iommu/Kconfig b/drivers/iommu/Kconfig
index d2fade984999..c5df570ef84a 100644
--- a/drivers/iommu/Kconfig
+++ b/drivers/iommu/Kconfig
@@ -506,8 +506,8 @@ config HYPERV_IOMMU
guests to run with x2APIC mode enabled.
config VIRTIO_IOMMU
- bool "Virtio IOMMU driver"
- depends on VIRTIO=y
+ tristate "Virtio IOMMU driver"
+ depends on VIRTIO
depends on ARM64
select IOMMU_API
select INTERVAL_TREE