linux/drivers/cxl
Dave Jiang b5807c80b5 cxl: add dimm_id support for __nvdimm_create()
Set the cxlds->serial as the dimm_id to be fed to __nvdimm_create(). The
security code uses that as the key description for the security key of the
memory device. The nvdimm unlock code cannot find the respective key
without the dimm_id.

Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Signed-off-by: Dave Jiang <dave.jiang@intel.com>
Link: https://lore.kernel.org/r/166863357043.80269.4337575149671383294.stgit@djiang5-desk3.ch.intel.com
Link: https://lore.kernel.org/r/166983620459.2734609.10175456773200251184.stgit@djiang5-desk3.ch.intel.com
Link: https://lore.kernel.org/r/166993219918.1995348.10786511454826454601.stgit@dwillia2-xfh.jf.intel.com
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
2022-12-02 23:52:32 -08:00
..
core cxl: add dimm_id support for __nvdimm_create() 2022-12-02 23:52:32 -08:00
acpi.c cxl/acpi: Improve debug messages in cxl_acpi_probe() 2022-11-14 12:11:27 -08:00
cxl.h cxl: add dimm_id support for __nvdimm_create() 2022-12-02 23:52:32 -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: add dimm_id support for __nvdimm_create() 2022-12-02 23:52:32 -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