acpi/nfit, libnvdimm/security: add Intel DSM 1.8 master passphrase support
authorDave Jiang <dave.jiang@intel.com>
Mon, 10 Dec 2018 17:53:22 +0000 (10:53 -0700)
committerDan Williams <dan.j.williams@intel.com>
Fri, 21 Dec 2018 20:44:41 +0000 (12:44 -0800)
commit89fa9d8ea7bdfa841d19044485cec5f4171069e5
tree2be60d02c3f6baac9186566e9077a7879a523fac
parent7d988097c546187ada602cc9bccd0f03d473eb8f
acpi/nfit, libnvdimm/security: add Intel DSM 1.8 master passphrase support

With Intel DSM 1.8 [1] two new security DSMs are introduced. Enable/update
master passphrase and master secure erase. The master passphrase allows
a secure erase to be performed without the user passphrase that is set on
the NVDIMM. The commands of master_update and master_erase are added to
the sysfs knob in order to initiate the DSMs. They are similar in opeartion
mechanism compare to update and erase.

[1]: http://pmem.io/documents/NVDIMM_DSM_Interface-V1.8.pdf

Signed-off-by: Dave Jiang <dave.jiang@intel.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
drivers/acpi/nfit/core.c
drivers/acpi/nfit/intel.c
drivers/nvdimm/dimm_devs.c
drivers/nvdimm/nd-core.h
drivers/nvdimm/security.c
include/linux/libnvdimm.h