[RFC 2/2] powerpc/swiotlb: Make swiotlb_dma_ops available on POWER

Anshuman Khandual khandual at linux.vnet.ibm.com
Wed Apr 4 13:03:01 AEST 2018


Generic swiotlb_dma_ops structure is available under CONFIG_DMA_DIRECT_OPS
configuration. Hence select it on POWER platform.

Signed-off-by: Anshuman Khandual <khandual at linux.vnet.ibm.com>
---
 arch/powerpc/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig
index 73ce5dd07642..61a55f9928d9 100644
--- a/arch/powerpc/Kconfig
+++ b/arch/powerpc/Kconfig
@@ -235,6 +235,7 @@ config PPC
 	select SPARSE_IRQ
 	select SYSCTL_EXCEPTION_TRACE
 	select VIRT_TO_BUS			if !PPC64
+	select DMA_DIRECT_OPS			if PPC_BOOK3S_64
 	#
 	# Please keep this list sorted alphabetically.
 	#
-- 
2.14.1



More information about the Linuxppc-dev mailing list