Re: [Xen-devel] [PATCH 1/4] pci: Do not ignore device's PXM information

2014-12-05 Thread Boris Ostrovsky
On 12/05/2014 10:53 AM, Jan Beulich wrote: --- a/xen/include/xen/pci.h +++ b/xen/include/xen/pci.h @@ -56,6 +56,8 @@ struct pci_dev { u8 phantom_stride; +int node; /* NUMA node */ I don't think we currently support node IDs wider than 8 bits. I used an int because pxm_to_nod

Re: [Xen-devel] [PATCH 1/4] pci: Do not ignore device's PXM information

2014-12-05 Thread Jan Beulich
>>> On 02.12.14 at 22:34, wrote: > 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 should remember it (in the form of nodeID). We will also print it > when user requests

Re: [Xen-devel] [PATCH 1/4] pci: Do not ignore device's PXM information

2014-12-03 Thread Boris Ostrovsky
On 12/03/2014 10:01 AM, Andrew Cooper wrote: On 02/12/14 21:34, Boris Ostrovsky wrote: 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 should remember it (in the form of nodeI

Re: [Xen-devel] [PATCH 1/4] pci: Do not ignore device's PXM information

2014-12-03 Thread Andrew Cooper
On 02/12/14 21:34, Boris Ostrovsky wrote: > 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 should remember it (in the form of nodeID). We will also print it > when user r

[Xen-devel] [PATCH 1/4] pci: Do not ignore device's PXM information

2014-12-02 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 should remember it (in the form of nodeID). We will also print it when user requests device information dump. Signed-off-by: Bori