From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Campbell Subject: Re: [PATCH v4 20/21] drivers/passthrough: arm: Add support for SMMU drivers Date: Mon, 28 Apr 2014 15:13:42 +0100 Message-ID: <1398694422.29700.129.camel@kazak.uk.xensource.com> References: <1398172475-27873-1-git-send-email-julien.grall@linaro.org> <1398172475-27873-21-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.bemta3.messagelabs.com ([195.245.230.39]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1WemJX-0003KO-Eh for xen-devel@lists.xenproject.org; Mon, 28 Apr 2014 14:13:47 +0000 In-Reply-To: <1398172475-27873-21-git-send-email-julien.grall@linaro.org> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Julien Grall Cc: xen-devel@lists.xenproject.org, Jan Beulich , tim@xen.org, Xiantao Zhang , stefano.stabellini@citrix.com List-Id: xen-devel@lists.xenproject.org On Tue, 2014-04-22 at 14:14 +0100, Julien Grall wrote: > This patch add support for ARM architected SMMU driver. It's based on the > linux drivers (drivers/iommu/arm-smmu) commit 89ac23cd. > > The major differences with the Linux driver are: > - Fault by default if the SMMU is enabled to translate an > address (Linux is bypassing the SMMU) > - Using P2M page table instead of creating new one > - Dropped stage-1 support > - Dropped chained SMMUs support for now > - Reworking device assignment and the different structures > > Xen is programming each IOMMU by: > - Using stage-2 mode translation > - Sharing the page table with the processor > - Injecting a fault if the device has made a wrong translation > > Signed-off-by: Julien Grall > Cc: Xiantao Zhang > Cc: Jan Beulich Acked-by: Ian Campbell