diff options
author | Dave Jiang <dave.jiang@intel.com> | 2022-11-30 12:22:50 -0700 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2022-12-01 12:42:35 -0800 |
commit | bd429e5355cd58aeb7e38b905fbecee357a6379b (patch) | |
tree | cfba6e993fdc8c6c20a939868b6ed215cc76dfb3 /mm/dmapool.c | |
parent | dcedadfae28562ad04bc351cabfbc0c65b810847 (diff) |
cxl/pmem: add id attribute to CXL based nvdimm
Add an id group attribute for CXL based nvdimm object. The addition allows
ndctl to display the "unique id" for the nvdimm. The serial number for the
CXL memory device will be used for this id.
[
{
"dev":"nmem10",
"id":"0x4",
"security":"disabled"
},
]
The id attribute is needed by the ndctl security key management to setup a
keyblob with a unique file name tied to the mem device.
Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Signed-off-by: Dave Jiang <dave.jiang@intel.com>
Link: https://lore.kernel.org/r/166983617029.2734609.8251308562882142281.stgit@djiang5-desk3.ch.intel.com
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'mm/dmapool.c')
0 files changed, 0 insertions, 0 deletions