Draft: Revert "nvme-pci: do not set the NUMA node of device if it has none"
JIRA: https://issues.redhat.com/browse/RHEL-46616
Upstream status: RHEL-only
This reverts commit 0c26600b.
All single numa node like a VMware guest or a system set to interleaved in BIOS will now see -1 as the numa_node attribute. This affects applications such as Lightbits which expects a 0 or a 1.
This is a regression in RHEL 9.4 which was introduced upstream by the following commit which changed drivers/nvme/host/pci.c:
Fixes: 0c26600b ("nvme-pci: do not set the NUMA node of device if it has none")
Signed-off-by: John Meneghini jmeneghi@redhat.com