spapr_pci: Add numa node id
authorAlexey Kardashevskiy <aik@ozlabs.ru>
Wed, 27 Jul 2016 08:03:38 +0000 (18:03 +1000)
committerDavid Gibson <david@gibson.dropbear.id.au>
Fri, 23 Sep 2016 02:39:07 +0000 (12:39 +1000)
commit4814401fa01271235df2ac60fafc831bd3d624f3
treef18532b50535097ad5b8fcfd379e28d30408900a
parent27a83f8e7ed63ced7e36c47a42f46ab44ee02bd8
spapr_pci: Add numa node id

This adds a numa id property to a PHB to allow linking passed PCI device
to CPU/memory. It is up to the management stack to do CPU/memory pinning
to the node with the actual PCI device.

Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
[dwg: Renamed property from "node" to "numa_node" to match the similar
 one in the pxb device]
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
hw/ppc/spapr_pci.c
include/hw/pci-host/spapr.h