RE: [Patch v2 2/2] PCI: hv: Add support for protocol 1.3 and support PCI_BUS_RELATIONS2

From: Michael Kelley
Date: Wed Dec 04 2019 - 14:45:05 EST


From: Long Li <longli@xxxxxxxxxxxxx> Sent: Tuesday, December 3, 2019 6:54 PM
>
> Starting with Hyper-V PCI protocol version 1.3, the host VSP can send
> PCI_BUS_RELATIONS2 and pass the vNUMA node information for devices on the bus.
> The vNUMA node tells which guest NUMA node this device is on based on guest
> VM configuration topology and physical device inforamtion.
>
> The patch adds code to negotiate v1.3 and process PCI_BUS_RELATIONS2.
>
> Signed-off-by: Long Li <longli@xxxxxxxxxxxxx>
> ---
>
> Changes
> v2: Changed some spaces to tabs, added put_pcichild() after get_pcichild_wslot(), renamed
> pci_assign_numa_node() to hv_pci_assign_numa_node()
>
> drivers/pci/controller/pci-hyperv.c | 109 ++++++++++++++++++++++++++++
> 1 file changed, 109 insertions(+)
>

Reviewed-by: Michael Kelley <mikelley@xxxxxxxxxxxxx>