diff options
author | Dan Williams <dan.j.williams@intel.com> | 2017-09-25 19:24:26 +0200 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2017-10-07 19:04:06 +0200 |
commit | efbf6f50ada168b68f5e3de474bc8dee4a02d046 (patch) | |
tree | 411d9aafc359561708f056c67951d22f9ac8bbaf /drivers/nvdimm/namespace_devs.c | |
parent | acpi, nfit: add support for the _LSI, _LSR, and _LSW label methods (diff) | |
download | linux-efbf6f50ada168b68f5e3de474bc8dee4a02d046.tar.xz linux-efbf6f50ada168b68f5e3de474bc8dee4a02d046.zip |
libnvdimm: introduce 'flags' attribute for DIMM 'lock' and 'alias' status
Given that we now how have two mechanisms for a DIMM to indicate that it
is locked:
* NVDIMM_FAMILY_INTEL 'get_config_size' _DSM command
* ACPI 6.2 Label Storage Read / Write commands
...export the generic libnvdimm DIMM status in a new 'flags' attribute.
This attribute can also reflect the 'alias' state which indicates
whether the nvdimm core is enforcing labels for aliased-region-capacity
that the given dimm is an interleave-set member.
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'drivers/nvdimm/namespace_devs.c')
0 files changed, 0 insertions, 0 deletions