mbox series

[ndctl,v2,0/4] ndctl: Add security test for cxl devices through nvdimm

Message ID 167105505204.3034751.8113387624258581781.stgit@djiang5-desk3.ch.intel.com
Headers show
Series ndctl: Add security test for cxl devices through nvdimm | expand

Message

Dave Jiang Dec. 14, 2022, 10 p.m. UTC
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

--