diff options
author | Dave Jiang <dave.jiang@intel.com> | 2022-11-30 12:22:56 -0700 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2022-12-01 12:42:35 -0800 |
commit | 18fa556375c0e28f067f4a52e9f11d4fd2cf6842 (patch) | |
tree | f15026fc4f70ff2aeaef90872d703aa4e69a4c43 /drivers | |
parent | bd429e5355cd58aeb7e38b905fbecee357a6379b (diff) |
tools/testing/cxl: add mechanism to lock mem device for testing
The mock cxl mem devs needs a way to go into "locked" status to simulate
when the platform is rebooted. Add a sysfs mechanism so the device security
state is set to "locked" and the frozen state bits are cleared.
Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Signed-off-by: Dave Jiang <dave.jiang@intel.com>
Link: https://lore.kernel.org/r/166983617602.2734609.7042497620931694717.stgit@djiang5-desk3.ch.intel.com
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions