Re: [PATCH v4 2/3] hw/acpi/nvdimm: add a helper to augment SRAT generation

2020-06-05 Thread Verma, Vishal L
On Fri, 2020-06-05 at 10:23 +0200, Igor Mammedov wrote: > > > > The relevant command line options to exercise this are below. Nodes 0-1 > > > > contain CPUs and regular memory, and nodes 2-3 are the NVDIMM address > > > > space. > > > > > > > > -numa node,nodeid=0,mem=2048M, > > > > -numa nod

Re: [PATCH v4 2/3] hw/acpi/nvdimm: add a helper to augment SRAT generation

2020-06-05 Thread Igor Mammedov
On Fri, 5 Jun 2020 00:54:28 + "Verma, Vishal L" wrote: > On Thu, 2020-06-04 at 12:33 +0200, Igor Mammedov wrote: > > On Thu, 28 May 2020 16:34:36 -0600 > > Vishal Verma wrote: > > > > > NVDIMMs can belong to their own proximity domains, as described by the > > > NFIT. In such cases, the S

Re: [PATCH v4 2/3] hw/acpi/nvdimm: add a helper to augment SRAT generation

2020-06-04 Thread Verma, Vishal L
On Thu, 2020-06-04 at 12:33 +0200, Igor Mammedov wrote: > On Thu, 28 May 2020 16:34:36 -0600 > Vishal Verma wrote: > > > NVDIMMs can belong to their own proximity domains, as described by the > > NFIT. In such cases, the SRAT needs to have Memory Affinity structures > > in the SRAT for these NVDI

Re: [PATCH v4 2/3] hw/acpi/nvdimm: add a helper to augment SRAT generation

2020-06-04 Thread Igor Mammedov
On Thu, 28 May 2020 16:34:36 -0600 Vishal Verma wrote: > NVDIMMs can belong to their own proximity domains, as described by the > NFIT. In such cases, the SRAT needs to have Memory Affinity structures > in the SRAT for these NVDIMMs, otherwise Linux doesn't populate node > data structures properl

[PATCH v4 2/3] hw/acpi/nvdimm: add a helper to augment SRAT generation

2020-05-28 Thread Vishal Verma
NVDIMMs can belong to their own proximity domains, as described by the NFIT. In such cases, the SRAT needs to have Memory Affinity structures in the SRAT for these NVDIMMs, otherwise Linux doesn't populate node data structures properly during NUMA initialization. See the following for an example fa