Merge tag 'drm-misc-fixes-2022-06-16' of git://anongit.freedesktop.org/drm/drm-misc...
[linux-2.6-microblaze.git] / drivers / xen / Kconfig
index a7bd8ce..bfd5f4f 100644 (file)
@@ -335,6 +335,10 @@ config XEN_UNPOPULATED_ALLOC
          having to balloon out RAM regions in order to obtain physical memory
          space to create such mappings.
 
+config XEN_GRANT_DMA_IOMMU
+       bool
+       select IOMMU_API
+
 config XEN_GRANT_DMA_OPS
        bool
        select DMA_OPS
@@ -343,6 +347,7 @@ config XEN_VIRTIO
        bool "Xen virtio support"
        depends on VIRTIO
        select XEN_GRANT_DMA_OPS
+       select XEN_GRANT_DMA_IOMMU if OF
        help
          Enable virtio support for running as Xen guest. Depending on the
          guest type this will require special support on the backend side