On 6/15/21 6:33 AM, Aneesh Kumar K.V wrote:
Daniel Henrique Barboza <danielhb...@gmail.com> writes:
The spapr-nvdimm driver is able to operate in two ways. The first
one is as a regular memory in which the NUMA node of the parent
pc-dimm class is used. The second mode, as persistent memory, allows for
a different NUMA node to be used based on the locality of the device.
At this moment we don't have a way to express this second NUMA node for
the persistent memory mode. This patch introduces a new 'device-node'
property that will be used by the PPC64 spapr-nvdimm driver to set a
second NUMA node for the nvdimm.
if device-node is not specified on the commandline, we should default to
the same value of node= attribute? Right now I am finding this default
to 0.
I agree. I fixed it in the next version to default to the 'node'
value when 'device-node' is omitted.
Daniel
-aneesh