diff options
author | Dave Jiang <dave.jiang@intel.com> | 2022-11-30 20:22:32 +0100 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2022-12-01 21:42:35 +0100 |
commit | 3b502e886d01c2f96b2774176be4c7bceef2516b (patch) | |
tree | 3b4543e7f3e5a772644e52e0948423a4147cae97 /sound/sh | |
parent | tools/testing/cxl: Add "Unlock" security opcode support (diff) | |
download | linux-3b502e886d01c2f96b2774176be4c7bceef2516b.tar.xz linux-3b502e886d01c2f96b2774176be4c7bceef2516b.zip |
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>
Diffstat (limited to 'sound/sh')
0 files changed, 0 insertions, 0 deletions