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:35:05 +0000 Message-ID: <55003679.20304@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> <550031F7.9000909@linaro.org> <1426076619.21353.222.camel@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" 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 1YVfqu-00013s-W2 for xen-devel@lists.xenproject.org; Wed, 11 Mar 2015 12:35:09 +0000 Received: by wggx13 with SMTP id x13so8909285wgg.4 for ; Wed, 11 Mar 2015 05:35:07 -0700 (PDT) In-Reply-To: <1426076619.21353.222.camel@citrix.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: Ian Campbell 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 11/03/2015 12:23, Ian Campbell wrote: > 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. Hmmm... checkpolicy and flask will have to be fixed then. Regards, -- Julien Grall