On 12/13/2020 6:16 AM, Tal Shnaiderman wrote:
On older processors, NUMA isn't bound to PCIe locality.
those cases return ERROR_NOT_FOUND in response to the
SetupDiGetDevicePropertyW call with DEVPKEY_Device_Numa_Node
attribute.

This error fails the probe process for the PCIe device.
this commit will ignore such failure and will set the
numa_node to 0.

Fixes: b762221ac24f ("bus/pci: support Windows with bifurcated drivers")
Cc: [email protected]

Reported-by: Odi Assli <[email protected]>
Signed-off-by: Tal Shnaiderman <[email protected]>
---
  drivers/bus/pci/windows/pci.c | 9 +++++++++
  1 file changed, 9 insertions(+)

Acked-by: Ranjit Menon<[email protected]>

Reply via email to