From: "Jan Beulich" Subject: Re: [PATCH v2 07/12] xen/iommu: Consolidate device assignment ops into a single set Date: Fri, 16 Jan 2015 15:03:49 +0000 Message-ID: <54B936650200007800055E49@mail.emea.novell.com> References: <1421418247-30068-1-git-send-email-julien.grall@linaro.org> <1421418247-30068-8-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 1YC8RD-0000VM-4t for xen-devel@lists.xenproject.org; Fri, 16 Jan 2015 15:03:51 +0000 In-Reply-To: <1421418247-30068-8-git-send-email-julien.grall@linaro.org> Content-Disposition: inline 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, stefano.stabellini@citrix.com, ian.campbell@citrix.com, tim@xen.org List-Id: xen-devel@lists.xenproject.org >>> On 16.01.15 at 15:24, wrote: > On ARM, the way to assign device tree node is exactly the same as PCI. > Futhermore, all devices can be represented by a 'device_t'. > Therefore there is no need to add separate ops. > > The x86 iommu drivers has not been modified to replace 'struct pci_dev' > by "device_t" because the latter is an alias of the former. > > Signed-off-by: Julien Grall Acked-by: Jan Beulich