Re: [Xen-devel] [PATCH v4 2/9] pci: Stash device's PXM information in struct pci_dev

2015-03-13 Thread Jan Beulich
>>> On 10.03.15 at 03:27, wrote: > --- a/xen/include/xen/pci.h > +++ b/xen/include/xen/pci.h > @@ -57,6 +57,8 @@ struct pci_dev { > > u8 phantom_stride; > > +u8 node; /* NUMA node */ I was about to commit this when I noticed that you use u8 instead of nodeid_t (which you had introduc

[Xen-devel] [PATCH v4 2/9] pci: Stash device's PXM information in struct pci_dev

2015-03-09 Thread Boris Ostrovsky
If ACPI provides PXM data for IO devices then dom0 will pass it to hypervisor during PHYSDEVOP_pci_device_add call. This information, however, is currently ignored. We will store this information (in the form of nodeID) in pci_dev structure so that we can provide it, for example, to the toolstack