From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from aserp2120.oracle.com ([141.146.126.78]:41316 "EHLO aserp2120.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932396AbeDWUKH (ORCPT ); Mon, 23 Apr 2018 16:10:07 -0400 Date: Mon, 23 Apr 2018 16:09:30 -0400 From: Konrad Rzeszutek Wilk To: Christoph Hellwig , sstabellini@kernel.org Cc: iommu@lists.linux-foundation.org, x86@kernel.org, linux-block@vger.kernel.org, linux-pci@vger.kernel.org, linux-mm@kvack.org, linux-mips@linux-mips.org, sparclinux@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH 10/12] arm: don't build swiotlb by default Message-ID: <20180423200930.GB5215@char.us.oracle.com> References: <20180423170419.20330-1-hch@lst.de> <20180423170419.20330-11-hch@lst.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: <20180423170419.20330-11-hch@lst.de> Sender: linux-block-owner@vger.kernel.org List-Id: linux-block@vger.kernel.org On Mon, Apr 23, 2018 at 07:04:17PM +0200, Christoph Hellwig wrote: > swiotlb is only used as a library of helper for xen-swiotlb if Xen support > is enabled on arm, so don't build it by default. > CCing Stefano > Signed-off-by: Christoph Hellwig > --- > arch/arm/Kconfig | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig > index aa1c187d756d..90b81a3a28a7 100644 > --- a/arch/arm/Kconfig > +++ b/arch/arm/Kconfig > @@ -1774,7 +1774,7 @@ config SECCOMP > defined by each seccomp mode. > > config SWIOTLB > - def_bool y > + bool > > config PARAVIRT > bool "Enable paravirtualization code" > @@ -1807,6 +1807,7 @@ config XEN > depends on MMU > select ARCH_DMA_ADDR_T_64BIT > select ARM_PSCI > + select SWIOTLB > select SWIOTLB_XEN > select PARAVIRT > help > -- > 2.17.0 > From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Return-Path: Date: Mon, 23 Apr 2018 16:09:30 -0400 From: Konrad Rzeszutek Wilk To: Christoph Hellwig , sstabellini@kernel.org Subject: Re: [PATCH 10/12] arm: don't build swiotlb by default Message-ID: <20180423200930.GB5215@char.us.oracle.com> References: <20180423170419.20330-1-hch@lst.de> <20180423170419.20330-11-hch@lst.de> MIME-Version: 1.0 In-Reply-To: <20180423170419.20330-11-hch@lst.de> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-mips@linux-mips.org, linux-pci@vger.kernel.org, x86@kernel.org, linux-block@vger.kernel.org, linux-mm@kvack.org, iommu@lists.linux-foundation.org, sparclinux@vger.kernel.org, linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="us-ascii" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+bjorn=helgaas.com@lists.infradead.org List-ID: On Mon, Apr 23, 2018 at 07:04:17PM +0200, Christoph Hellwig wrote: > swiotlb is only used as a library of helper for xen-swiotlb if Xen support > is enabled on arm, so don't build it by default. > CCing Stefano > Signed-off-by: Christoph Hellwig > --- > arch/arm/Kconfig | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig > index aa1c187d756d..90b81a3a28a7 100644 > --- a/arch/arm/Kconfig > +++ b/arch/arm/Kconfig > @@ -1774,7 +1774,7 @@ config SECCOMP > defined by each seccomp mode. > > config SWIOTLB > - def_bool y > + bool > > config PARAVIRT > bool "Enable paravirtualization code" > @@ -1807,6 +1807,7 @@ config XEN > depends on MMU > select ARCH_DMA_ADDR_T_64BIT > select ARM_PSCI > + select SWIOTLB > select SWIOTLB_XEN > select PARAVIRT > help > -- > 2.17.0 > _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel From mboxrd@z Thu Jan 1 00:00:00 1970 From: Konrad Rzeszutek Wilk Date: Mon, 23 Apr 2018 20:09:30 +0000 Subject: Re: [PATCH 10/12] arm: don't build swiotlb by default Message-Id: <20180423200930.GB5215@char.us.oracle.com> List-Id: References: <20180423170419.20330-1-hch@lst.de> <20180423170419.20330-11-hch@lst.de> In-Reply-To: <20180423170419.20330-11-hch@lst.de> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-arm-kernel@lists.infradead.org On Mon, Apr 23, 2018 at 07:04:17PM +0200, Christoph Hellwig wrote: > swiotlb is only used as a library of helper for xen-swiotlb if Xen support > is enabled on arm, so don't build it by default. > CCing Stefano > Signed-off-by: Christoph Hellwig > --- > arch/arm/Kconfig | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig > index aa1c187d756d..90b81a3a28a7 100644 > --- a/arch/arm/Kconfig > +++ b/arch/arm/Kconfig > @@ -1774,7 +1774,7 @@ config SECCOMP > defined by each seccomp mode. > > config SWIOTLB > - def_bool y > + bool > > config PARAVIRT > bool "Enable paravirtualization code" > @@ -1807,6 +1807,7 @@ config XEN > depends on MMU > select ARCH_DMA_ADDR_T_64BIT > select ARM_PSCI > + select SWIOTLB > select SWIOTLB_XEN > select PARAVIRT > help > -- > 2.17.0 > From mboxrd@z Thu Jan 1 00:00:00 1970 From: Konrad Rzeszutek Wilk Subject: Re: [PATCH 10/12] arm: don't build swiotlb by default Date: Mon, 23 Apr 2018 16:09:30 -0400 Message-ID: <20180423200930.GB5215@char.us.oracle.com> References: <20180423170419.20330-1-hch@lst.de> <20180423170419.20330-11-hch@lst.de> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <20180423170419.20330-11-hch-jcswGhMUV9g@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: iommu-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org Errors-To: iommu-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org To: Christoph Hellwig , sstabellini-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org Cc: linux-mips-6z/3iImG2C8G8FEW9MqTrA@public.gmane.org, linux-pci-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, x86-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org, linux-block-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-mm-Bw31MaZKKs3YtjvyW6yDsg@public.gmane.org, iommu-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org, sparclinux-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org List-Id: iommu@lists.linux-foundation.org On Mon, Apr 23, 2018 at 07:04:17PM +0200, Christoph Hellwig wrote: > swiotlb is only used as a library of helper for xen-swiotlb if Xen support > is enabled on arm, so don't build it by default. > CCing Stefano > Signed-off-by: Christoph Hellwig > --- > arch/arm/Kconfig | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig > index aa1c187d756d..90b81a3a28a7 100644 > --- a/arch/arm/Kconfig > +++ b/arch/arm/Kconfig > @@ -1774,7 +1774,7 @@ config SECCOMP > defined by each seccomp mode. > > config SWIOTLB > - def_bool y > + bool > > config PARAVIRT > bool "Enable paravirtualization code" > @@ -1807,6 +1807,7 @@ config XEN > depends on MMU > select ARCH_DMA_ADDR_T_64BIT > select ARM_PSCI > + select SWIOTLB > select SWIOTLB_XEN > select PARAVIRT > help > -- > 2.17.0 > From mboxrd@z Thu Jan 1 00:00:00 1970 From: konrad.wilk@oracle.com (Konrad Rzeszutek Wilk) Date: Mon, 23 Apr 2018 16:09:30 -0400 Subject: [PATCH 10/12] arm: don't build swiotlb by default In-Reply-To: <20180423170419.20330-11-hch@lst.de> References: <20180423170419.20330-1-hch@lst.de> <20180423170419.20330-11-hch@lst.de> Message-ID: <20180423200930.GB5215@char.us.oracle.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Mon, Apr 23, 2018 at 07:04:17PM +0200, Christoph Hellwig wrote: > swiotlb is only used as a library of helper for xen-swiotlb if Xen support > is enabled on arm, so don't build it by default. > CCing Stefano > Signed-off-by: Christoph Hellwig > --- > arch/arm/Kconfig | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig > index aa1c187d756d..90b81a3a28a7 100644 > --- a/arch/arm/Kconfig > +++ b/arch/arm/Kconfig > @@ -1774,7 +1774,7 @@ config SECCOMP > defined by each seccomp mode. > > config SWIOTLB > - def_bool y > + bool > > config PARAVIRT > bool "Enable paravirtualization code" > @@ -1807,6 +1807,7 @@ config XEN > depends on MMU > select ARCH_DMA_ADDR_T_64BIT > select ARM_PSCI > + select SWIOTLB > select SWIOTLB_XEN > select PARAVIRT > help > -- > 2.17.0 >