This ndctl series add support to test cxl pmem devices through the nvdimm
interface. A new shell script is added for security test due to the
discovery of cxl_test dimms are different than nfit_test based dimms.
Common code are shared between nfit and cxl security testing.
v2:
- Fix commit logs (Vishal)
- Share common code for test (Vishal)
- Add test to cxl suite (Dan)
---
Dave Jiang (4):
ndctl: add CXL bus detection
ndctl/libndctl: Add bus_prefix for CXL
ndctl/libndctl: Allow retrievng of unique_id for CXL mem dev
ndctl/test: Add CXL test for security
ndctl/lib/libndctl.c | 87 ++++++++++++++++++++++++++++++++++++++++++
ndctl/lib/libndctl.sym | 1 +
ndctl/lib/private.h | 1 +
ndctl/libndctl.h | 1 +
test/common | 7 ++++
test/cxl-security | 40 +++++++++++++++++++
test/cxl-security.sh | 5 +++
test/meson.build | 6 ++-
test/nfit-security | 40 +++++++++++++++++++
test/nfit-security.sh | 5 +++
test/security.sh | 70 ++++++++++++---------------------
11 files changed, 216 insertions(+), 47 deletions(-)
create mode 100644 test/cxl-security
create mode 100755 test/cxl-security.sh
create mode 100644 test/nfit-security
create mode 100755 test/nfit-security.sh
--