From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from moutng.kundenserver.de ([212.227.126.187]:65484 "EHLO moutng.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754408Ab0G2I11 (ORCPT ); Thu, 29 Jul 2010 04:27:27 -0400 From: Arnd Bergmann Subject: Re: [PATCH 1/2] arm: msm: Add System MMU support. Date: Thu, 29 Jul 2010 10:26:55 +0200 References: <20100729123512Y.fujita.tomonori@lab.ntt.co.jp> In-Reply-To: <20100729123512Y.fujita.tomonori@lab.ntt.co.jp> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201007291026.55928.arnd@arndb.de> Sender: linux-arm-msm-owner@vger.kernel.org List-ID: To: FUJITA Tomonori , Joerg Roedel Cc: stepanm@codeaurora.org, linux-arm-kernel@lists.infradead.org, linux-arm-msm@vger.kernel.org, dwalker@codeaurora.org, linux-kernel@vger.kernel.org On Thursday 29 July 2010 05:35:48 FUJITA Tomonori wrote: > > > > From what I have been able to tell, the IOMMU interface was written by > > AMD/Intel to allow the kvm code to work with a common IOMMU interface. To > > Don't confuse the IOMMU interface with the DMA API that Arnd > mentioned. > > They are not related at all. Exactly, thanks for the clarification. I also didn't realize that there is now an include/linux/iommu.h file that only describes the PCI SR-IOV interfaces, unlike the generic IOMMU support that we have in your include/linux/dma-mapping.h file. Maybe we should rename linux/iommu.h to something more specific so we can reduce this confusion in the future. Arnd From mboxrd@z Thu Jan 1 00:00:00 1970 From: arnd@arndb.de (Arnd Bergmann) Date: Thu, 29 Jul 2010 10:26:55 +0200 Subject: [PATCH 1/2] arm: msm: Add System MMU support. In-Reply-To: <20100729123512Y.fujita.tomonori@lab.ntt.co.jp> References: <20100729123512Y.fujita.tomonori@lab.ntt.co.jp> Message-ID: <201007291026.55928.arnd@arndb.de> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Thursday 29 July 2010 05:35:48 FUJITA Tomonori wrote: > > > > From what I have been able to tell, the IOMMU interface was written by > > AMD/Intel to allow the kvm code to work with a common IOMMU interface. To > > Don't confuse the IOMMU interface with the DMA API that Arnd > mentioned. > > They are not related at all. Exactly, thanks for the clarification. I also didn't realize that there is now an include/linux/iommu.h file that only describes the PCI SR-IOV interfaces, unlike the generic IOMMU support that we have in your include/linux/dma-mapping.h file. Maybe we should rename linux/iommu.h to something more specific so we can reduce this confusion in the future. Arnd