Re: [PATCH v3] powerpc/nvdimm: Pick nearby online node if the device node is not online

2019-07-30 Thread Michael Ellerman
On Mon, 2019-07-29 at 09:51:28 UTC, "Aneesh Kumar K.V" wrote: > Currently, nvdimm subsystem expects the device numa node for SCM device to be > an online node. It also doesn't try to bring the device numa node online. > Hence > if we use a non-online numa node as device node we hit crashes like be

[PATCH v3] powerpc/nvdimm: Pick nearby online node if the device node is not online

2019-07-29 Thread Aneesh Kumar K.V
Currently, nvdimm subsystem expects the device numa node for SCM device to be an online node. It also doesn't try to bring the device numa node online. Hence if we use a non-online numa node as device node we hit crashes like below. This is because we try to access uninitialized NODE_DATA in differ