linux/drivers/cxl
Dave Jiang bd429e5355 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>
2022-12-01 12:42:35 -08:00
..
core cxl/pmem: Add "Passphrase Secure Erase" security command support 2022-12-01 12:42:35 -08:00
acpi.c cxl/acpi: Improve debug messages in cxl_acpi_probe() 2022-11-14 12:11:27 -08:00
cxl.h cxl: Replace HDM decoder granularity magic numbers 2022-11-14 12:11:27 -08:00
cxlmem.h cxl/pmem: Add "Passphrase Secure Erase" security command support 2022-12-01 12:42:35 -08:00
cxlpci.h cxl/port: Read CDAT table 2022-07-19 15:38:05 -07:00
Kconfig cxl/region: Allocate HPA capacity to regions 2022-07-25 12:18:06 -07:00
Makefile cxl/pmem: Introduce nvdimm_security_ops with ->get_flags() operation 2022-11-30 16:30:47 -08:00
mem.c cxl/mem: Enumerate port targets before adding endpoints 2022-07-21 17:19:25 -07:00
pci.c cxl/doe: Request exclusive DOE access 2022-11-14 10:07:22 -08:00
pmem.c cxl/pmem: add id attribute to CXL based nvdimm 2022-12-01 12:42:35 -08:00
port.c cxl/port: Read CDAT table 2022-07-19 15:38:05 -07:00
security.c nvdimm/cxl/pmem: Add support for master passphrase disable security command 2022-12-01 12:42:35 -08:00