libnvdimm, label: add v1.2 interleave-set-cookie algorithm
authorDan Williams <dan.j.williams@intel.com>
Sun, 4 Jun 2017 01:59:15 +0000 (10:59 +0900)
committerDan Williams <dan.j.williams@intel.com>
Thu, 15 Jun 2017 21:31:39 +0000 (14:31 -0700)
commitc12c48ce869d72029d70666f615cbd8f67fc14e9
treec38e0587856fdaf94d0401cf644aae05c519804a
parent564e871aa66f548a947b23808d3140f326381f0c
libnvdimm, label: add v1.2 interleave-set-cookie algorithm

The interleave-set-cookie algorithm is extended to incorporate all the
same components that are used to generate an nvdimm unique-id. For
backwards compatibility we still maintain the old v1.1 definition.

Reported-by: Nicholas Moulin <nicholas.w.moulin@intel.com>
Reported-by: Kaushik Kanetkar <kaushik.a.kanetkar@intel.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
drivers/acpi/nfit/core.c
drivers/nvdimm/label.c
drivers/nvdimm/namespace_devs.c
drivers/nvdimm/nd.h
drivers/nvdimm/region_devs.c
include/linux/libnvdimm.h