Re: [PATCH] dmaengine: ioat: depends on !UML

From
Dave Jiang <dave.jiang@intel.com>
Date
2021-08-09 16:05:07
Reply to
Johannes Berg, 2021-08-09
On 8/9/2021 2:24 AM, Johannes Berg wrote:
From: Johannes Berg <redacted>

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: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Johannes Berg <redacted>
Acked-by: Dave Jiang <dave.jiang@intel.com>
quoted hunk ↗ jump to hunk
---
  drivers/dma/Kconfig | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/dma/Kconfig b/drivers/dma/Kconfig
index 39b5b46e880f..dc155f75926d 100644
--- a/drivers/dma/Kconfig
+++ b/drivers/dma/Kconfig
@@ -315,7 +315,7 @@ config INTEL_IDXD_PERFMON
  
  config INTEL_IOATDMA
  	tristate "Intel I/OAT DMA support"
-	depends on PCI && X86_64
+	depends on PCI && X86_64 && !UML
  	select DMA_ENGINE
  	select DMA_ENGINE_RAID
  	select DCA
Thread (10 messages) 10 messages, 4 authors, last reply 2021-08-25
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help