| 
    
 [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] RFC: [PATCH 1/3] Enhance platform support for PCI
 On 20/02/15 8:31 pm, Ian Campbell wrote: In fact xen and dom0 use the same device tree nodes and in the same order. xen creates the device tree for dom0.On Fri, 2015-02-20 at 14:39 +0000, Jan Beulich wrote:On 20.02.15 at 15:26, <ian.campbell@xxxxxxxxxx> wrote:On Fri, 2015-02-20 at 14:11 +0000, Jan Beulich wrote:Otherwise, just sequentially assign segment numbers as you discover them or get them reported by Dom0. You could even have Dom0 tell you the segment numbers (just like we do on x86),Aha, how does this work on x86 then? I've been looking for a hypercall which dom0 uses to tell Xen about PCI segments to no avail (I just find ones for registering actual devices).But that's the one,that == physdev_pci_device_add? AFAICT that tells Xen about a given device existing on a particular segment, but doesn't tell Xen any of the properties of that segment.plus the MMCFG reporting one (PHYSDEVOP_pci_mmcfg_reserved). I think xen can enforce the ABI while creating device tree Ian. _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel 
 
 
  | 
  
![]()  | 
            
         Lists.xenproject.org is hosted with RackSpace, monitoring our  |