From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx0a-001b2d01.pphosted.com (mx0b-001b2d01.pphosted.com [148.163.158.5]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 40G9kq4TZRzF1pZ for ; Wed, 4 Apr 2018 13:03:12 +1000 (AEST) Received: from pps.filterd (m0098421.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id w342xnx7131590 for ; Tue, 3 Apr 2018 23:03:10 -0400 Received: from e06smtp12.uk.ibm.com (e06smtp12.uk.ibm.com [195.75.94.108]) by mx0a-001b2d01.pphosted.com with ESMTP id 2h4furpwyf-1 (version=TLSv1.2 cipher=AES256-SHA256 bits=256 verify=NOT) for ; Tue, 03 Apr 2018 23:03:09 -0400 Received: from localhost by e06smtp12.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Wed, 4 Apr 2018 04:03:08 +0100 From: Anshuman Khandual To: linuxppc-dev@lists.ozlabs.org Subject: [RFC 2/2] powerpc/swiotlb: Make swiotlb_dma_ops available on POWER Date: Wed, 4 Apr 2018 08:33:01 +0530 In-Reply-To: <20180404030301.25019-1-khandual@linux.vnet.ibm.com> References: <20180404030301.25019-1-khandual@linux.vnet.ibm.com> Message-Id: <20180404030301.25019-2-khandual@linux.vnet.ibm.com> List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Generic swiotlb_dma_ops structure is available under CONFIG_DMA_DIRECT_OPS configuration. Hence select it on POWER platform. Signed-off-by: Anshuman Khandual --- 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