linux/drivers/cxl
Dave Jiang dcedadfae2 nvdimm/cxl/pmem: Add support for master passphrase disable security command
The original nvdimm_security_ops ->disable() only supports user passphrase
for security disable. The CXL spec introduced the disabling of master
passphrase. Add a ->disable_master() callback to support this new operation
and leaving the old ->disable() mechanism alone. A "disable_master" command
is added for the sysfs attribute in order to allow command to be issued
from userspace. ndctl will need enabling in order to utilize this new
operation.

Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Signed-off-by: Dave Jiang <dave.jiang@intel.com>
Link: https://lore.kernel.org/r/166983616454.2734609.14204031148234398086.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 cxl/pmem: Add "Passphrase Secure Erase" security command support 2022-12-01 12:42:35 -08:00
acpi.c cxl/acpi: Improve debug messages in cxl_acpi_probe() 2022-11-14 12:11:27 -08:00
cxl.h cxl: Replace HDM decoder granularity magic numbers 2022-11-14 12:11:27 -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/pmem: Introduce nvdimm_security_ops with ->get_flags() operation 2022-11-30 16:30:47 -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