From mboxrd@z Thu Jan 1 00:00:00 1970 From: Julien Grall Subject: Re: [PATCH v3 20/24] xen/passthrough: Extend XEN_DOMCTL_assign_device to support DT device Date: Wed, 11 Mar 2015 12:15:51 +0000 Message-ID: <550031F7.9000909@linaro.org> References: <1421159133-31526-1-git-send-email-julien.grall@linaro.org> <1421159133-31526-21-git-send-email-julien.grall@linaro.org> <1424452643.30924.368.camel@citrix.com> <54EB5475.3060900@tycho.nsa.gov> <54FF214C.10508@linaro.org> <54FF7401.6070900@tycho.nsa.gov> <550010A6020000780006863D@mail.emea.novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" 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 1YVfYJ-00055h-5i for xen-devel@lists.xenproject.org; Wed, 11 Mar 2015 12:15:55 +0000 Received: by widem10 with SMTP id em10so11180427wid.2 for ; Wed, 11 Mar 2015 05:15:53 -0700 (PDT) In-Reply-To: <550010A6020000780006863D@mail.emea.novell.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Jan Beulich , Daniel De Graaf Cc: Wei Liu , Ian Campbell , Machon Gregory , Ian Jackson , tim@xen.org, stefano.stabellini@citrix.com, xen-devel@lists.xenproject.org List-Id: xen-devel@lists.xenproject.org Hi Jan, On 11/03/2015 08:53, Jan Beulich wrote: >>>> On 10.03.15 at 23:45, wrote: >> In order to do static labeling for device passthrough, the nodes in a >> device tree need a 32-bit numeric identifier. IO memory uses the MFN, >> PCI devices use SBDF, and IRQs and x86 legacy IOs just use the number. > > A 32-bit number can't uniquely identify an MMIO MFN. Isn't 32-bit enough to describe an MFN? Although, MMIO are described with an MFN range. Regards, -- Julien Grall