tools/testing/cxl: Add "Disable" security opcode support
authorDave Jiang <dave.jiang@intel.com>
Wed, 30 Nov 2022 19:22:04 +0000 (12:22 -0700)
committerDan Williams <dan.j.williams@intel.com>
Thu, 1 Dec 2022 20:42:35 +0000 (12:42 -0800)
commitabf0c8380a487d050da58e344635f4e96dd3c467
tree6cda74c804b464c6bd94715423bd73a022a740de
parentc4ef680d0b72815003a76074ca1cd872a2fecfc3
tools/testing/cxl: Add "Disable" security opcode support

Add support to emulate a CXL mem device support the "Disable Passphrase"
operation. The operation supports disabling of either a user or a master
passphrase. The emulation will provide support for both user and master
passphrase.

Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Signed-off-by: Dave Jiang <dave.jiang@intel.com>
Link: https://lore.kernel.org/r/166983612447.2734609.2767804273351656413.stgit@djiang5-desk3.ch.intel.com
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
tools/testing/cxl/test/mem.c