From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Campbell Subject: Re: [PATCH v3 20/24] xen/passthrough: Extend XEN_DOMCTL_assign_device to support DT device Date: Wed, 11 Mar 2015 12:23:39 +0000 Message-ID: <1426076619.21353.222.camel@citrix.com> 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> <550031F7.9000909@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 1YVfft-0005zP-Hi for xen-devel@lists.xenproject.org; Wed, 11 Mar 2015 12:23:45 +0000 In-Reply-To: <550031F7.9000909@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: Wei Liu , Machon Gregory , Ian Jackson , tim@xen.org, stefano.stabellini@citrix.com, Jan Beulich , xen-devel@lists.xenproject.org, Daniel De Graaf List-Id: xen-devel@lists.xenproject.org On Wed, 2015-03-11 at 12:15 +0000, Julien Grall wrote: > 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? Up to 32+12== 44 bits, yes, but we know there are ARM systems with 48 bit PA out there. > > Although, MMIO are described with an MFN range. > > Regards, >