]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita070161a9d6404e4f1b1149628db1e4de00f9543
treed7b486fb6e6f1db13ef615423105daaf457cd45f
parent681156b340153655d969f7182045a71acfa67db1
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