]> git.baikalelectronics.ru Git - kernel.git/commit
PCI: hv: Add support for protocol 1.3 and support PCI_BUS_RELATIONS2
authorLong Li <longli@microsoft.com>
Wed, 26 Feb 2020 05:06:08 +0000 (21:06 -0800)
committerLorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Fri, 6 Mar 2020 10:18:10 +0000 (10:18 +0000)
commit7da625cdf9ed4fb14e1384d50db84a11e3ce3887
tree0c7b69b12e494499af24889b0c51148f7e075c5d
parentf68508899539ede4c0a2d9804a59717eb7e35e87
PCI: hv: Add support for protocol 1.3 and support PCI_BUS_RELATIONS2

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 information.

Add code to negotiate v1.3 and process PCI_BUS_RELATIONS2.

Signed-off-by: Long Li <longli@microsoft.com>
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Reviewed-by: Michael Kelley <mikelley@microsoft.com>
drivers/pci/controller/pci-hyperv.c