]> xenbits.xensource.com Git - people/pauldu/xen.git/commit
pci: stash device's PXM information in struct pci_dev
authorBoris Ostrovsky <boris.ostrovsky@oracle.com>
Fri, 20 Mar 2015 16:34:13 +0000 (17:34 +0100)
committerJan Beulich <jbeulich@suse.com>
Fri, 20 Mar 2015 16:34:13 +0000 (17:34 +0100)
commit4fa6b0bacf9cbd37b67b4895906f9e3b1336a8fc
tree7305828f1541bce88594c83d715da8ec97d9ebd8
parent59edde94818d153e1d2296d453f2d99fa2de6a0d
pci: stash device's PXM information in struct pci_dev

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
when it adds support (in the following patches) for querying the
hypervisor about device topology

We will also print it when user requests device information dump.

Signed-off-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Reviewed-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
xen/arch/x86/physdev.c
xen/drivers/passthrough/pci.c
xen/include/public/physdev.h
xen/include/xen/pci.h