linux/drivers/cxl/core
Dave Jiang 3b502e886d cxl/pmem: Add "Passphrase Secure Erase" security command support
Create callback function to support the nvdimm_security_ops() ->erase()
callback. Translate the operation to send "Passphrase Secure Erase"
security command for CXL memory device.

When the mem device is secure erased, cpu_cache_invalidate_memregion() is
called in order to invalidate all CPU caches before attempting to access
the mem device again.

See CXL 3.0 spec section 8.2.9.8.6.6 for reference.

Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Signed-off-by: Dave Jiang <dave.jiang@intel.com>
Link: https://lore.kernel.org/r/166983615293.2734609.10358657600295932156.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.h cxl/region: Introduce cxl_pmem_region objects 2022-07-26 12:23:01 -07:00
hdm.c cxl/hdm: Fix skip allocations vs multiple pmem allocations 2022-08-05 16:11:38 -07:00
Makefile cxl/region: Add region creation support 2022-07-21 17:19:25 -07:00
mbox.c cxl/pmem: Add "Passphrase Secure Erase" security command support 2022-12-01 12:42:35 -08:00
memdev.c cxl/mem: Convert partition-info to resources 2022-07-09 19:43:30 -07:00
pci.c cxl: Unify debug messages when calling devm_cxl_add_dport() 2022-11-14 10:37:08 -08:00
pmem.c cxl/pmem: Fix cxl_pmem_region and cxl_memdev leak 2022-11-04 15:58:35 -07:00
port.c cxl: Unify debug messages when calling devm_cxl_add_dport() 2022-11-14 10:37:08 -08:00
region.c cxl/region: Recycle region ids 2022-11-04 16:03:43 -07:00
regs.c cxl/core: Check physical address before mapping it in devm_cxl_iomap_block() 2022-11-14 10:37:08 -08:00
suspend.c PM: CXL: Disable suspend 2022-04-22 16:09:42 -07:00