Re: [Linux-nvdimm] [PATCH v2 08/20] libnd, nd_acpi: regions (block-data-window, persistent memory, volatile memory)

2015-05-28 Thread Dan Williams
On Thu, May 28, 2015 at 1:51 PM, Linda Knippers wrote: > On 5/28/2015 3:59 PM, Dan Williams wrote: >> On Thu, May 28, 2015 at 11:36 AM, Toshi Kani wrote: >>> On Sat, 2015-05-09 at 16:55 -0700, Dan Williams wrote: On Mon, May 4, 2015 at 1:26 PM, Toshi Kani wrote: > On Tue, 2015-04-28 at

Re: [Linux-nvdimm] [PATCH v2 08/20] libnd, nd_acpi: regions (block-data-window, persistent memory, volatile memory)

2015-05-28 Thread Linda Knippers
On 5/28/2015 3:59 PM, Dan Williams wrote: > On Thu, May 28, 2015 at 11:36 AM, Toshi Kani wrote: >> On Sat, 2015-05-09 at 16:55 -0700, Dan Williams wrote: >>> On Mon, May 4, 2015 at 1:26 PM, Toshi Kani wrote: On Tue, 2015-04-28 at 14:24 -0400, Dan Williams wrote: >> : The libnd

Re: [Linux-nvdimm] [PATCH v2 08/20] libnd, nd_acpi: regions (block-data-window, persistent memory, volatile memory)

2015-05-28 Thread Dan Williams
On Thu, May 28, 2015 at 11:36 AM, Toshi Kani wrote: > On Sat, 2015-05-09 at 16:55 -0700, Dan Williams wrote: >> On Mon, May 4, 2015 at 1:26 PM, Toshi Kani wrote: >> > On Tue, 2015-04-28 at 14:24 -0400, Dan Williams wrote: > : >> > >> > The libnd does not support memdev->flags, which contains

Re: [Linux-nvdimm] [PATCH v2 08/20] libnd, nd_acpi: regions (block-data-window, persistent memory, volatile memory)

2015-05-28 Thread Toshi Kani
On Sat, 2015-05-09 at 16:55 -0700, Dan Williams wrote: > On Mon, May 4, 2015 at 1:26 PM, Toshi Kani wrote: > > On Tue, 2015-04-28 at 14:24 -0400, Dan Williams wrote: : > > > > The libnd does not support memdev->flags, which contains "Memory Device > > State Flags" defined in Table 5-129 of ACPI

Re: [Linux-nvdimm] [PATCH v2 08/20] libnd, nd_acpi: regions (block-data-window, persistent memory, volatile memory)

2015-05-28 Thread Linda Knippers
On 5/28/2015 3:59 PM, Dan Williams wrote: On Thu, May 28, 2015 at 11:36 AM, Toshi Kani toshi.k...@hp.com wrote: On Sat, 2015-05-09 at 16:55 -0700, Dan Williams wrote: On Mon, May 4, 2015 at 1:26 PM, Toshi Kani toshi.k...@hp.com wrote: On Tue, 2015-04-28 at 14:24 -0400, Dan Williams wrote: :

Re: [Linux-nvdimm] [PATCH v2 08/20] libnd, nd_acpi: regions (block-data-window, persistent memory, volatile memory)

2015-05-28 Thread Dan Williams
On Thu, May 28, 2015 at 11:36 AM, Toshi Kani toshi.k...@hp.com wrote: On Sat, 2015-05-09 at 16:55 -0700, Dan Williams wrote: On Mon, May 4, 2015 at 1:26 PM, Toshi Kani toshi.k...@hp.com wrote: On Tue, 2015-04-28 at 14:24 -0400, Dan Williams wrote: : The libnd does not support

Re: [Linux-nvdimm] [PATCH v2 08/20] libnd, nd_acpi: regions (block-data-window, persistent memory, volatile memory)

2015-05-28 Thread Dan Williams
On Thu, May 28, 2015 at 1:51 PM, Linda Knippers linda.knipp...@hp.com wrote: On 5/28/2015 3:59 PM, Dan Williams wrote: On Thu, May 28, 2015 at 11:36 AM, Toshi Kani toshi.k...@hp.com wrote: On Sat, 2015-05-09 at 16:55 -0700, Dan Williams wrote: On Mon, May 4, 2015 at 1:26 PM, Toshi Kani

Re: [Linux-nvdimm] [PATCH v2 08/20] libnd, nd_acpi: regions (block-data-window, persistent memory, volatile memory)

2015-05-28 Thread Toshi Kani
On Sat, 2015-05-09 at 16:55 -0700, Dan Williams wrote: On Mon, May 4, 2015 at 1:26 PM, Toshi Kani toshi.k...@hp.com wrote: On Tue, 2015-04-28 at 14:24 -0400, Dan Williams wrote: : The libnd does not support memdev-flags, which contains Memory Device State Flags defined in Table 5-129 of

Re: [Linux-nvdimm] [PATCH v2 08/20] libnd, nd_acpi: regions (block-data-window, persistent memory, volatile memory)

2015-05-09 Thread Dan Williams
On Mon, May 4, 2015 at 1:26 PM, Toshi Kani wrote: > On Tue, 2015-04-28 at 14:24 -0400, Dan Williams wrote: > : >> + >> +static int nd_acpi_register_region(struct acpi_nfit_desc *acpi_desc, >> + struct nfit_spa *nfit_spa) >> +{ >> + static struct nd_mapping

Re: [Linux-nvdimm] [PATCH v2 08/20] libnd, nd_acpi: regions (block-data-window, persistent memory, volatile memory)

2015-05-09 Thread Dan Williams
On Mon, May 4, 2015 at 1:26 PM, Toshi Kani toshi.k...@hp.com wrote: On Tue, 2015-04-28 at 14:24 -0400, Dan Williams wrote: : + +static int nd_acpi_register_region(struct acpi_nfit_desc *acpi_desc, + struct nfit_spa *nfit_spa) +{ + static struct nd_mapping

Re: [Linux-nvdimm] [PATCH v2 08/20] libnd, nd_acpi: regions (block-data-window, persistent memory, volatile memory)

2015-05-04 Thread Toshi Kani
On Tue, 2015-04-28 at 14:24 -0400, Dan Williams wrote: : > + > +static int nd_acpi_register_region(struct acpi_nfit_desc *acpi_desc, > + struct nfit_spa *nfit_spa) > +{ > + static struct nd_mapping nd_mappings[ND_MAX_MAPPINGS]; > + struct acpi_nfit_spa *spa = nfit_spa->spa; >

Re: [Linux-nvdimm] [PATCH v2 08/20] libnd, nd_acpi: regions (block-data-window, persistent memory, volatile memory)

2015-05-04 Thread Toshi Kani
On Tue, 2015-04-28 at 14:24 -0400, Dan Williams wrote: : + +static int nd_acpi_register_region(struct acpi_nfit_desc *acpi_desc, + struct nfit_spa *nfit_spa) +{ + static struct nd_mapping nd_mappings[ND_MAX_MAPPINGS]; + struct acpi_nfit_spa *spa = nfit_spa-spa; +

Re: [Linux-nvdimm] [PATCH v2 08/20] libnd, nd_acpi: regions (block-data-window, persistent memory, volatile memory)

2015-04-29 Thread Dan Williams
On Wed, Apr 29, 2015 at 8:53 AM, Elliott, Robert (Server Storage) wrote: >> -Original Message- >> From: Linux-nvdimm [mailto:linux-nvdimm-boun...@lists.01.org] On Behalf Of >> Dan Williams >> Sent: Tuesday, April 28, 2015 1:25 PM >> Subject: [Linux-nvdimm] [

RE: [Linux-nvdimm] [PATCH v2 08/20] libnd, nd_acpi: regions (block-data-window, persistent memory, volatile memory)

2015-04-29 Thread Elliott, Robert (Server Storage)
> -Original Message- > From: Linux-nvdimm [mailto:linux-nvdimm-boun...@lists.01.org] On Behalf Of > Dan Williams > Sent: Tuesday, April 28, 2015 1:25 PM > Subject: [Linux-nvdimm] [PATCH v2 08/20] libnd, nd_acpi: regions (block- > data-window, persistent memor

Re: [Linux-nvdimm] [PATCH v2 08/20] libnd, nd_acpi: regions (block-data-window, persistent memory, volatile memory)

2015-04-29 Thread Dan Williams
, nd_acpi: regions (block- data-window, persistent memory, volatile memory) A region device represents the maximum capacity of a BLK range (mmio block-data-window(s)), or a PMEM range (DAX-capable persistent memory or volatile memory), without regard for aliasing. Aliasing, in the dimm-local

RE: [Linux-nvdimm] [PATCH v2 08/20] libnd, nd_acpi: regions (block-data-window, persistent memory, volatile memory)

2015-04-29 Thread Elliott, Robert (Server Storage)
-Original Message- From: Linux-nvdimm [mailto:linux-nvdimm-boun...@lists.01.org] On Behalf Of Dan Williams Sent: Tuesday, April 28, 2015 1:25 PM Subject: [Linux-nvdimm] [PATCH v2 08/20] libnd, nd_acpi: regions (block- data-window, persistent memory, volatile memory) A region