Re: [RFC PATCH 0/10] Another Approach to Use PMEM as NUMA Node

From: Jonathan Cameron
Date: Tue Mar 26 2019 - 08:19:23 EST


On Mon, 25 Mar 2019 16:37:07 -0700
Dan Williams <dan.j.williams@xxxxxxxxx> wrote:

> On Mon, Mar 25, 2019 at 4:09 PM Brice Goglin <Brice.Goglin@xxxxxxxx> wrote:
> >
> >
> > Le 25/03/2019 à 20:29, Dan Williams a écrit :
> > > Perhaps "path" might be a suitable replacement identifier rather than
> > > type. I.e. memory that originates from an ACPI.NFIT root device is
> > > likely "pmem".
> >
> >
> > Could work.
> >
> > What kind of "path" would we get for other types of memory? (DDR,
> > non-ACPI-based based PMEM if any, NVMe PMR?)
>
> I think for memory that is described by the HMAT "Reservation hint",
> and no other ACPI table, it would need to have "HMAT" in the path. For
> anything not ACPI it gets easier because the path can be the parent
> PCI device.
>

There is no HMAT reservation hint in ACPI 6.3 - but there are other ways
of doing much the same thing so this is just a nitpick.

J