From mboxrd@z Thu Jan 1 00:00:00 1970 From: Julien Grall Subject: [PATCH v8 0/4] IOMMU support for ARM Date: Mon, 19 May 2014 17:23:56 +0100 Message-ID: <1400516640-7175-1-git-send-email-julien.grall@linaro.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta5.messagelabs.com ([195.245.231.135]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1WmQM9-0000m8-SI for xen-devel@lists.xenproject.org; Mon, 19 May 2014 16:24:06 +0000 Received: by mail-ee0-f47.google.com with SMTP id c13so3788125eek.6 for ; Mon, 19 May 2014 09:24:04 -0700 (PDT) List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: xen-devel@lists.xenproject.org Cc: stefano.stabellini@citrix.com, Julien Grall , tim@xen.org, ian.campbell@citrix.com List-Id: xen-devel@lists.xenproject.org Hello, This is the eight version of this patch series to add support for IOMMU on ARM. It also adds driver to support ARM SMMU which is used for instance on Midway. Major changes see v7: - Rework patch #4 to handle correctly multiple grant mapping with the same MFN For all changes see in each patch. This series also depends on the interrupt reworking series [1] A working tree can be found here: git://xenbits.xen.org/people/julieng/xen-unstable.git branch smmu-v8 Sincerely yours, [1] http://lists.xen.org/archives/html/xen-devel/2014-05/msg02172.html Julien Grall (4): xen/arm: p2m: Clean cache PT when the IOMMU doesn't support coherent walk xen: iommu: Define PAGE_{SHIFT,SIZE,ALIGN,MASK)_64K drivers/passthrough: arm: Add support for SMMU drivers xen/arm: grant: Add another entry to map MFN 1:1 in dom0 p2m xen/arch/arm/mm.c | 10 + xen/arch/arm/p2m.c | 48 +- xen/common/grant_table.c | 4 +- xen/drivers/passthrough/arm/Makefile | 1 + xen/drivers/passthrough/arm/smmu.c | 1786 ++++++++++++++++++++++++++++++++++ xen/drivers/passthrough/iommu.c | 10 + xen/include/asm-arm/grant_table.h | 2 + xen/include/asm-arm/mm.h | 3 + xen/include/asm-arm/p2m.h | 2 + xen/include/asm-x86/grant_table.h | 2 + xen/include/xen/hvm/iommu.h | 6 + xen/include/xen/iommu.h | 24 +- 12 files changed, 1877 insertions(+), 21 deletions(-) create mode 100644 xen/drivers/passthrough/arm/smmu.c -- 1.7.10.4