From: Ian Campbell Subject: Re: [PATCH v3 06/13] xen/passthrough: iommu: Split generic IOMMU code Date: Tue, 18 Mar 2014 16:24:34 +0000 Message-ID: <1395159874.11824.5.camel@kazak.uk.xensource.com> References: <1394552999-14171-1-git-send-email-julien.grall@linaro.org> <1394552999-14171-7-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 1WPwpB-0004YC-9x for xen-devel@lists.xenproject.org; Tue, 18 Mar 2014 16:25:11 +0000 In-Reply-To: <1394552999-14171-7-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-03-11 at 15:49 +0000, Julien Grall wrote: > The generic IOMMU framework code (xen/drivers/passthrough/iommu.c) contains > functions specific to x86 and PCI. > > Split the framework in 3 distincts files: > - iommu.c: contains generic functions shared between x86 and ARM > (when it will be supported) > - pci.c: contains specific functions for PCI passthrough > - x86/iommu.c: contains specific functions for x86 > > io.c contains x86 HVM specific code. Only compile for x86. Move it to x86/io.c then ? (no other comments above what Jan has already said) Ian.