nfit, libnvdimm, region: export 'position' in mapping info
authorDan Williams <dan.j.williams@intel.com>
Sat, 5 Aug 2017 00:20:16 +0000 (17:20 -0700)
committerDan Williams <dan.j.williams@intel.com>
Sat, 5 Aug 2017 00:20:16 +0000 (17:20 -0700)
commit401c0a19c6c22efcaff85d5a64a396f9130da2ca
tree051deacfc826795636237e63d1c1741e5c32bdb1
parent0dd69643061d78f3f9047c2382d8d77cca1ac943
nfit, libnvdimm, region: export 'position' in mapping info

It is useful to be able to know the position of a DIMM in an
interleave-set. Consider the case where the order of the DIMMs changes
causing a namespace to be invalidated because the interleave-set cookie no
longer matches. If the before and after state of each DIMM position is
known this state debugged by the system owner.

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