Re: [PATCH] PCI: Warn about host bridge device when its numa node is NO_NODE

From: Christoph Hellwig
Date: Sat Oct 19 2019 - 04:35:24 EST


On Sat, Oct 19, 2019 at 02:45:43PM +0800, Yunsheng Lin wrote:
> + if (nr_node_ids > 1 && dev_to_node(bus->bridge) == NUMA_NO_NODE)
> + dev_err(bus->bridge, FW_BUG "No node assigned on NUMA capable HW by BIOS. Please contact your vendor for updates.\n");
> +

The whole idea of mentioning a BIOS in architeture indepent code doesn't
make sense at all.