From mboxrd@z Thu Jan 1 00:00:00 1970 Received: with ECARTIS (v1.0.0; list linux-mips); Wed, 16 Jul 2014 18:01:01 +0200 (CEST) Received: from cam-admin0.cambridge.arm.com ([217.140.96.50]:40648 "EHLO cam-admin0.cambridge.arm.com" rhost-flags-OK-OK-OK-OK) by eddie.linux-mips.org with ESMTP id S6816671AbaGPQA7DSNhP (ORCPT ); Wed, 16 Jul 2014 18:00:59 +0200 Received: from arm.com (edgewater-inn.cambridge.arm.com [10.1.203.161]) by cam-admin0.cambridge.arm.com (8.12.6/8.12.6) with ESMTP id s6GFx4wo005490; Wed, 16 Jul 2014 16:59:04 +0100 (BST) Date: Wed, 16 Jul 2014 16:59:05 +0100 From: Will Deacon To: Zubair Lutfullah Kakakhel Cc: "ralf@linux-mips.org" , Catalin Marinas , "tglx@linutronix.de" , "mingo@redhat.com" , "hpa@zytor.com" , "arnd@arndb.de" , "gregkh@linuxfoundation.org" , "m.szyprowski@samsung.com" , "mina86@mina86.com" , "x86@kernel.org" , "linux-arm-kernel@lists.infradead.org" , "linux-kernel@vger.kernel.org" , "linux-mips@linux-mips.org" , "linux-arch@vger.kernel.org" Subject: Re: [PATCH 1/4] asm-generic: Add dma-contiguous.h Message-ID: <20140716155905.GS29414@arm.com> References: <1405525892-60383-1-git-send-email-Zubair.Kakakhel@imgtec.com> <1405525892-60383-2-git-send-email-Zubair.Kakakhel@imgtec.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1405525892-60383-2-git-send-email-Zubair.Kakakhel@imgtec.com> User-Agent: Mutt/1.5.23 (2014-03-12) Return-Path: X-Envelope-To: <"|/home/ecartis/ecartis -s linux-mips"> (uid 0) X-Orcpt: rfc822;linux-mips@linux-mips.org Original-Recipient: rfc822;linux-mips@linux-mips.org X-archive-position: 41222 X-ecartis-version: Ecartis v1.0.0 Sender: linux-mips-bounce@linux-mips.org Errors-to: linux-mips-bounce@linux-mips.org X-original-sender: will.deacon@arm.com Precedence: bulk List-help: List-unsubscribe: List-software: Ecartis version 1.0.0 List-Id: linux-mips X-List-ID: linux-mips List-subscribe: List-owner: List-post: List-archive: X-list: linux-mips On Wed, Jul 16, 2014 at 04:51:29PM +0100, Zubair Lutfullah Kakakhel wrote: > This header is used by arm64 and x86 individually. > > Adding to asm-generic to avoid further code repetition while adding cma > to mips. > > Signed-off-by: Zubair Lutfullah Kakakhel > --- > include/asm-generic/dma-contiguous.h | 9 +++++++++ > 1 file changed, 9 insertions(+) > create mode 100644 include/asm-generic/dma-contiguous.h > > diff --git a/include/asm-generic/dma-contiguous.h b/include/asm-generic/dma-contiguous.h > new file mode 100644 > index 0000000..292c571 > --- /dev/null > +++ b/include/asm-generic/dma-contiguous.h > @@ -0,0 +1,9 @@ > +#ifndef _ASM_GENERIC_DMA_CONTIGUOUS_H > +#define _ASM_GENERIC_DMA_CONTIGUOUS_H > + > +#include > + > +static inline void > +dma_contiguous_early_fixup(phys_addr_t base, unsigned long size) { } > + > +#endif Acked-by: Will Deacon Will From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from cam-admin0.cambridge.arm.com ([217.140.96.50]:40648 "EHLO cam-admin0.cambridge.arm.com" rhost-flags-OK-OK-OK-OK) by eddie.linux-mips.org with ESMTP id S6816671AbaGPQA7DSNhP (ORCPT ); Wed, 16 Jul 2014 18:00:59 +0200 Date: Wed, 16 Jul 2014 16:59:05 +0100 From: Will Deacon Subject: Re: [PATCH 1/4] asm-generic: Add dma-contiguous.h Message-ID: <20140716155905.GS29414@arm.com> References: <1405525892-60383-1-git-send-email-Zubair.Kakakhel@imgtec.com> <1405525892-60383-2-git-send-email-Zubair.Kakakhel@imgtec.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1405525892-60383-2-git-send-email-Zubair.Kakakhel@imgtec.com> Return-Path: Sender: linux-mips-bounce@linux-mips.org Errors-to: linux-mips-bounce@linux-mips.org List-help: List-unsubscribe: List-software: Ecartis version 1.0.0 List-subscribe: List-owner: List-post: List-archive: To: Zubair Lutfullah Kakakhel Cc: "ralf@linux-mips.org" , Catalin Marinas , "tglx@linutronix.de" , "mingo@redhat.com" , "hpa@zytor.com" , "arnd@arndb.de" , "gregkh@linuxfoundation.org" , "m.szyprowski@samsung.com" , "mina86@mina86.com" , "x86@kernel.org" , "linux-arm-kernel@lists.infradead.org" , "linux-kernel@vger.kernel.org" , "linux-mips@linux-mips.org" , "linux-arch@vger.kernel.org" Message-ID: <20140716155905.I3G1rFh4FHjO0mNxdCyKrC06ab6SjOJfeYhIqy1Dnuw@z> On Wed, Jul 16, 2014 at 04:51:29PM +0100, Zubair Lutfullah Kakakhel wrote: > This header is used by arm64 and x86 individually. > > Adding to asm-generic to avoid further code repetition while adding cma > to mips. > > Signed-off-by: Zubair Lutfullah Kakakhel > --- > include/asm-generic/dma-contiguous.h | 9 +++++++++ > 1 file changed, 9 insertions(+) > create mode 100644 include/asm-generic/dma-contiguous.h > > diff --git a/include/asm-generic/dma-contiguous.h b/include/asm-generic/dma-contiguous.h > new file mode 100644 > index 0000000..292c571 > --- /dev/null > +++ b/include/asm-generic/dma-contiguous.h > @@ -0,0 +1,9 @@ > +#ifndef _ASM_GENERIC_DMA_CONTIGUOUS_H > +#define _ASM_GENERIC_DMA_CONTIGUOUS_H > + > +#include > + > +static inline void > +dma_contiguous_early_fixup(phys_addr_t base, unsigned long size) { } > + > +#endif Acked-by: Will Deacon Will