]> 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)
commitc5a51ce511706b2d1b3a62c18c44124f053c5f61
treed7b486fb6e6f1db13ef615423105daaf457cd45f
parentd5e83c1f66bd3a6ea27710d98f3374c5aa298470
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