Thread (8 messages) 8 messages, 3 authors, 2024-09-03

Re: [PATCH 2/2] dma-mapping: clearly mark DMA ops as an architecture feature

From: Andreas Larsson <andreas@gaisler.com>
Date: 2024-08-28 06:26:30
Also in: linux-alpha, linux-arm-kernel, linux-iommu, linux-media, linux-mips, linux-s390, linuxppc-dev, lkml, sparclinux, xen-devel

On 2024-08-28 08:10, Christoph Hellwig wrote:
quoted hunk ↗ jump to hunk
--- a/drivers/xen/Kconfig
+++ b/drivers/xen/Kconfig
@@ -177,8 +177,8 @@ config XEN_GRANT_DMA_ALLOC
 
 config SWIOTLB_XEN
 	def_bool y
+	depends on ARCH_DMA_OPS
Rename to ARCH_HAS_DMA_OPS in v2 is missing here
quoted hunk ↗ jump to hunk
 	depends on XEN_PV || ARM || ARM64
-	select DMA_OPS
 	select SWIOTLB
 
 config XEN_PCI_STUB
@@ -348,10 +348,10 @@ config XEN_GRANT_DMA_IOMMU
 
 config XEN_GRANT_DMA_OPS
 	bool
-	select DMA_OPS
 
 config XEN_VIRTIO
 	bool "Xen virtio support"
+	depends on ARCH_DMA_OPS
and here.

Cheers,
Andreas
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help