From: Ian Campbell Subject: Re: [RFC for-4.5 09/12] xen/passthrough: iommu: Introduce arch specific code Date: Wed, 19 Feb 2014 12:40:17 +0000 Message-ID: <1392813617.29739.47.camel@kazak.uk.xensource.com> References: <1391794991-5919-1-git-send-email-julien.grall@linaro.org> <1391794991-5919-10-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.bemta14.messagelabs.com ([193.109.254.103]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1WG6Rr-0000xz-GW for xen-devel@lists.xenproject.org; Wed, 19 Feb 2014 12:40:23 +0000 In-Reply-To: <1391794991-5919-10-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: Keir Fraser , Suravee Suthikulpanit , patches@linaro.org, Shane Wang , Joseph Cihula , tim@xen.org, stefano.stabellini@citrix.com, Jan Beulich , xen-devel@lists.xenproject.org, Gang Wei , Xiantao Zhang List-Id: xen-devel@lists.xenproject.org On Fri, 2014-02-07 at 17:43 +0000, Julien Grall wrote: > Currently the structure hvm_iommu (xen/include/xen/hvm/iommu.h) contains > x86 specific fields. > > This patch creates: > - arch_hvm_iommu structure which will contain architecture depend > fields > - arch_iommu_domain_{init,destroy} function to execute arch > specific during domain creation/destruction > > Also move iommu_use_hap_pt and domain_hvm_iommu in asm-x86/iommu.h. > > Signed-off-by: Julien Grall > Cc: Keir Fraser > Cc: Jan Beulich > Cc: Joseph Cihula > Cc: Gang Wei > Cc: Shane Wang > Cc: Suravee Suthikulpanit > Cc: Xiantao Zhang Mostly mechanical I guess? Acked-by: Ian Campbell