Searched hist:"180 ffd338c35057c3e8521d55555ae3b36b67fa6" (Results 1 – 2 of 2) sorted by relevance
/linux/Documentation/ABI/testing/ |
H A D | sysfs-bus-cxl | diff 180ffd338c35057c3e8521d55555ae3b36b67fa6 Mon Jun 12 20:10:37 CEST 2023 Davidlohr Bueso <dave@stgolabs.net> cxl/mem: Support Secure Erase
Implement support for the non-pmem exclusive secure erase, per CXL specs. Create a write-only 'security/erase' sysfs file to perform the requested operation.
As with the sanitation this requires the device being offline and thus no active HPA-DPA decoding.
The expectation is that userspace can use it such as:
cxl disable-memdev memX echo 1 > /sys/bus/cxl/devices/memX/security/erase cxl enable-memdev memX
Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com> Reviewed-by: Dave Jiang <dave.jiang@intel.com> Reviewed-by: Fan Ni <fan.ni@samsung.com> Signed-off-by: Davidlohr Bueso <dave@stgolabs.net> Link: https://lore.kernel.org/r/20230612181038.14421-7-dave@stgolabs.net Signed-off-by: Dan Williams <dan.j.williams@intel.com>
|
/linux/drivers/cxl/core/ |
H A D | mbox.c | diff 180ffd338c35057c3e8521d55555ae3b36b67fa6 Mon Jun 12 20:10:37 CEST 2023 Davidlohr Bueso <dave@stgolabs.net> cxl/mem: Support Secure Erase
Implement support for the non-pmem exclusive secure erase, per CXL specs. Create a write-only 'security/erase' sysfs file to perform the requested operation.
As with the sanitation this requires the device being offline and thus no active HPA-DPA decoding.
The expectation is that userspace can use it such as:
cxl disable-memdev memX echo 1 > /sys/bus/cxl/devices/memX/security/erase cxl enable-memdev memX
Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com> Reviewed-by: Dave Jiang <dave.jiang@intel.com> Reviewed-by: Fan Ni <fan.ni@samsung.com> Signed-off-by: Davidlohr Bueso <dave@stgolabs.net> Link: https://lore.kernel.org/r/20230612181038.14421-7-dave@stgolabs.net Signed-off-by: Dan Williams <dan.j.williams@intel.com>
|