]> git.baikalelectronics.ru Git - kernel.git/commit
libnvdimm: convert NDD_ flags to use bitops, introduce NDD_LOCKED
authorDan Williams <dan.j.williams@intel.com>
Thu, 4 May 2017 21:01:24 +0000 (14:01 -0700)
committerDan Williams <dan.j.williams@intel.com>
Thu, 4 May 2017 21:01:24 +0000 (14:01 -0700)
commitf30d29fbc6221329db6152411d5c08337f656af8
treebec3467c1f513663801d7fb62a9c56bea2fe52b6
parent6ac1b0f286a85c99aa116025cd529caddfbd0ec7
libnvdimm: convert NDD_ flags to use bitops, introduce NDD_LOCKED

This is a preparation patch for handling locked nvdimm label regions, a
new concept as introduced by the latest DSM document on pmem.io [1]. A
future patch will leverage nvdimm_set_locked() at DIMM probe time to
flag regions that can not be enabled. There should be no functional
difference resulting from this change.

[1]: http://pmem.io/documents/NVDIMM_DSM_Interface_Example-V1.3.pdf

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