]> git.baikalelectronics.ru Git - kernel.git/commit
libnvdimm: handle locked label storage areas
authorDan Williams <dan.j.williams@intel.com>
Thu, 4 May 2017 18:47:22 +0000 (11:47 -0700)
committerDan Williams <dan.j.williams@intel.com>
Thu, 4 May 2017 22:41:39 +0000 (15:41 -0700)
commit67f3d3a4d88abc3197cc5d21750d19626842f788
tree960201b66f5fb6733dda4ab6b274fe6fafcf0e29
parentf30d29fbc6221329db6152411d5c08337f656af8
libnvdimm: handle locked label storage areas

Per the latest version of the "NVDIMM DSM Interface Example" [1], the
label data retrieval routine can report a "locked" status. In this case
all regions associated with that DIMM are disabled until the label area
is unlocked. Provide generic libnvdimm enabling for NVDIMMs with label
data area locking capabilities.

[1]: http://pmem.io/documents/

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