The following series implements the overwrite support for Intel nvdimm. Overwrite DSM commands are part of Intel DSM v1.7 spec. It allows the nvdimm to wipe all the information on the target nvdimm (including the label area). The operation can take tens of mintues or more depending on the size of the nvdimm.
--- Dave Jiang (5): libnvdimm: introduce NDD_SECURITY_BUSY flag libnvdimm: Add security DSM overwrite support nfit_test: Add overwrite support for nfit_test libnvdimm: add overwrite status notification libnvdimm: add documentation for ovewrite Documentation/nvdimm/security.txt | 11 ++ drivers/acpi/nfit/core.c | 5 + drivers/acpi/nfit/intel.c | 118 +++++++++++++++++++++ drivers/acpi/nfit/intel.h | 4 + drivers/acpi/nfit/nfit.h | 1 drivers/nvdimm/dimm.c | 4 + drivers/nvdimm/dimm_devs.c | 207 +++++++++++++++++++++++++++++++++++++ drivers/nvdimm/nd-core.h | 3 + drivers/nvdimm/nd.h | 3 + drivers/nvdimm/region_devs.c | 7 + include/linux/libnvdimm.h | 9 ++ tools/testing/nvdimm/test/nfit.c | 55 ++++++++++ 12 files changed, 425 insertions(+), 2 deletions(-) -- _______________________________________________ Linux-nvdimm mailing list Linux-nvdimm@lists.01.org https://lists.01.org/mailman/listinfo/linux-nvdimm