]> git.baikalelectronics.ru Git - kernel.git/commit
xen/pci: Try harder to get PXM information for Xen
authorRoss Lagerwall <ross.lagerwall@citrix.com>
Thu, 9 Apr 2015 07:05:10 +0000 (08:05 +0100)
committerDavid Vrabel <david.vrabel@citrix.com>
Wed, 15 Apr 2015 09:57:28 +0000 (10:57 +0100)
commitadbc476647f69f8abb80268fa302ffcc21f7329a
tree37feef841dd5c71bbc22c92137bc94241b74b91f
parent170714427565210a9cad651564078405fda59714
xen/pci: Try harder to get PXM information for Xen

If the device being added to Xen is not contained in the ACPI table,
walk the PCI device tree to find a parent that is contained in the ACPI
table before finding the PXM information from this device.

Previously, it would try to get a handle for the device, then the
device's bridge, then the physfn.  This changes the order so that it
tries to get a handle for the device, then the physfn, the walks up the
PCI device tree.

Signed-off-by: Ross Lagerwall <ross.lagerwall@citrix.com>
Signed-off-by: David Vrabel <david.vrabel@citrix.com>
drivers/xen/pci.c