From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from gate.crashing.org ([63.228.1.57]:35396 "EHLO gate.crashing.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754477Ab0GaCbl (ORCPT ); Fri, 30 Jul 2010 22:31:41 -0400 Subject: Re: [PATCH 1/2] arm: msm: Add System MMU support. From: Benjamin Herrenschmidt In-Reply-To: <20100729123512Y.fujita.tomonori@lab.ntt.co.jp> References: <201007281950.20847.arnd@arndb.de> <20100729123512Y.fujita.tomonori@lab.ntt.co.jp> Content-Type: text/plain; charset="UTF-8" Date: Sat, 31 Jul 2010 12:30:49 +1000 Message-ID: <1280543449.1902.29.camel@pasglop> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-arm-msm-owner@vger.kernel.org List-ID: To: FUJITA Tomonori Cc: stepanm@codeaurora.org, arnd@arndb.de, linux-arm-kernel@lists.infradead.org, linux-arm-msm@vger.kernel.org, dwalker@codeaurora.org, linux-kernel@vger.kernel.org On Thu, 2010-07-29 at 12:35 +0900, FUJITA Tomonori wrote: > Don't confuse the IOMMU interface with the DMA API that Arnd > mentioned. > > They are not related at all. > > The DMA API is defined in Documentation/DMA-API.txt. > > Arnd told you that include/asm-generic/dma-mapping-common.h is the > library to support the DMA API with multiple IOMMUs. Lots of > architectures (x86, powerpc, sh, alpha, ia64, microblaze, sparc) > use it. Also, some of the iommu layer actually originates from powerpc. Cheers, Ben. From mboxrd@z Thu Jan 1 00:00:00 1970 From: benh@kernel.crashing.org (Benjamin Herrenschmidt) Date: Sat, 31 Jul 2010 12:30:49 +1000 Subject: [PATCH 1/2] arm: msm: Add System MMU support. In-Reply-To: <20100729123512Y.fujita.tomonori@lab.ntt.co.jp> References: <201007281950.20847.arnd@arndb.de> <20100729123512Y.fujita.tomonori@lab.ntt.co.jp> Message-ID: <1280543449.1902.29.camel@pasglop> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Thu, 2010-07-29 at 12:35 +0900, FUJITA Tomonori wrote: > Don't confuse the IOMMU interface with the DMA API that Arnd > mentioned. > > They are not related at all. > > The DMA API is defined in Documentation/DMA-API.txt. > > Arnd told you that include/asm-generic/dma-mapping-common.h is the > library to support the DMA API with multiple IOMMUs. Lots of > architectures (x86, powerpc, sh, alpha, ia64, microblaze, sparc) > use it. Also, some of the iommu layer actually originates from powerpc. Cheers, Ben.