dmaengine: idxd: depends on !UML
authorJohannes Berg <johannes.berg@intel.com>
Fri, 25 Jun 2021 08:38:10 +0000 (10:38 +0200)
committerVinod Koul <vkoul@kernel.org>
Wed, 14 Jul 2021 06:59:54 +0000 (12:29 +0530)
Now that UML has PCI support, this driver must depend also on
!UML since it pokes at X86_64 architecture internals that don't
exist on ARCH=um.

Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Acked-by: Dave Jiang <dave.jiang@intel.com>
Acked-By: Anton Ivanov <anton.ivanov@cambridgegreys.com>
Link: https://lore.kernel.org/r/20210625103810.fe877ae0aef4.If240438e3f50ae226f3f755fc46ea498c6858393@changeid
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/Kconfig

index 39b5b46..f450e42 100644 (file)
@@ -279,7 +279,7 @@ config INTEL_IDMA64
 
 config INTEL_IDXD
        tristate "Intel Data Accelerators support"
-       depends on PCI && X86_64
+       depends on PCI && X86_64 && !UML
        depends on PCI_MSI
        depends on SBITMAP
        select DMA_ENGINE