Documentation, dt, numa: Add note to empty NUMA node
authorGavin Shan <gshan@redhat.com>
Mon, 27 Sep 2021 06:41:18 +0000 (14:41 +0800)
committerRob Herring <robh@kernel.org>
Mon, 4 Oct 2021 18:13:36 +0000 (13:13 -0500)
commit58ae0b51506802713aa0e9956d1853ba4c722c98
treed7b486fb6e6f1db13ef615423105daaf457cd45f
parent71a9aa162d7b2f9b92b51462203324bcd5a5aeff
Documentation, dt, numa: Add note to empty NUMA node

The empty memory nodes, where no memory resides in, are allowed.
The NUMA node IDs are still valid and parsed, but memory may be
added to them through hotplug afterwards. Currently, QEMU fails
to boot when multiple empty memory nodes are specified. It's
caused by device-tree population failure and duplicated memory
node names.

The device-tree specification doesn't provide how empty NUMA
nodes are handled. Besides, I finds difficulty to get where
this case is documented. So lets add a section for empty memory
nodes to cover it in NUMA binding document.

Signed-off-by: Gavin Shan <gshan@redhat.com>
Link: https://lore.kernel.org/r/20210927064119.127285-2-gshan@redhat.com
Signed-off-by: Rob Herring <robh@kernel.org>
Documentation/devicetree/bindings/numa.txt