libnvdimm, label: populate the type_guid property for v1.2 namespaces
authorDan Williams <dan.j.williams@intel.com>
Tue, 6 Jun 2017 18:10:51 +0000 (11:10 -0700)
committerDan Williams <dan.j.williams@intel.com>
Thu, 15 Jun 2017 21:31:40 +0000 (14:31 -0700)
commitfaec6f8a1cd2c44e439de35ab3328c5cf7bf52d8
tree140523684286a8a5283b54ec1e1d4e1a258fcc04
parentf979b13c3cc51584882bffa32965f34e5afa3b9b
libnvdimm, label: populate the type_guid property for v1.2 namespaces

The type_guid refers to the "Address Range Type GUID" for the region
backing a namespace as defined the ACPI NFIT (NVDIMM Firmware Interface
Table). This 'type' identifier specifies an access mechanism for the
given namespace. This capability replaces the confusing usage of the
'NSLABEL_FLAG_LOCAL' flag to indicate a block-aperture-mode namespace.

Signed-off-by: Dan Williams <dan.j.williams@intel.com>
drivers/acpi/nfit/core.c
drivers/nvdimm/label.c
drivers/nvdimm/namespace_devs.c
include/linux/libnvdimm.h