diff mbox series

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

Message ID 20180404030301.25019-2-khandual@linux.vnet.ibm.com (mailing list archive)
State RFC
Headers show
Series [RFC,1/2] powerpc/swiotlb: Dont free up allocated SWIOTLB slab on POWER | expand

Commit Message

Anshuman Khandual April 4, 2018, 3:03 a.m. UTC
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@linux.vnet.ibm.com>
---
 arch/powerpc/Kconfig | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

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.
 	#