Revert "iommu: Allow iova to be used without requiring IOMMU_SUPPORT"
authorSudeep Dutt <sudeep.dutt@intel.com>
Mon, 5 Oct 2015 17:37:01 +0000 (10:37 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 6 Oct 2015 08:23:14 +0000 (09:23 +0100)
Revert 'commit 353649e5da90 ("iommu: Allow iova to be used without
requiring IOMMU_SUPPORT"). This commit is made unnecessary by
'commit ac6d83ccd9c5 ("misc: mic: Fix SCIF build failure with
IOMMU_SUPPORT disabled") and will create a conflict upon merging
with 4.3-rc4. The correct long term solution is to move the iova
library from drivers/iommu into lib/iova which will be done in
a future patch.

Cc: David Woodhouse <David.Woodhouse@intel.com>
Reviewed-by: Ashutosh Dixit <ashutosh.dixit@intel.com>
Signed-off-by: Sudeep Dutt <sudeep.dutt@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/iommu/Kconfig

index 71d1c46f4a2b5333ff61bc576abd9bab2e3ada0d..d9da766719c863327d4a8563804994c3edfd01c0 100644 (file)
@@ -12,9 +12,6 @@ menuconfig IOMMU_SUPPORT
          remap DMA requests and/or remap interrupts from other devices on the
          system.
 
-config IOMMU_IOVA
-       tristate
-
 if IOMMU_SUPPORT
 
 menu "Generic IOMMU Pagetable Support"
@@ -45,6 +42,9 @@ config IOMMU_IO_PGTABLE_LPAE_SELFTEST
 
 endmenu
 
+config IOMMU_IOVA
+       tristate
+
 config OF_IOMMU
        def_bool y
        depends on OF && IOMMU_API