The current test module cannot be used for testing platforms (make check) that do not have support for NFIT. In order to get the ndctl tests working, we need a module which can emulate NVDIMM devices without relying on ACPI/NFIT.
The emulated PMEM device is made part of the PAPR family. Corresponding changes for ndctl is also required, to add attributes needed for the test, which will be sent as a reply to this patch. None of tests passed on PAPR before, now there are 16 test that pass. Error injection tests and SMART are not yet implemented. Santosh Sivaraj (7): testing/nvdimm: Add test module for non-nfit platforms ndtest: Add compatability string to treat it as PAPR family ndtest: Add dimms to the two buses ndtest: Add dimm attributes ndtest: Add regions and mappings to the test buses ndtest: Add nvdimm control functions ndtest: Add papr health related flags tools/testing/nvdimm/config_check.c | 3 +- tools/testing/nvdimm/test/Kbuild | 6 +- tools/testing/nvdimm/test/ndtest.c | 1138 +++++++++++++++++++++++++++ tools/testing/nvdimm/test/ndtest.h | 109 +++ 4 files changed, 1254 insertions(+), 2 deletions(-) create mode 100644 tools/testing/nvdimm/test/ndtest.c create mode 100644 tools/testing/nvdimm/test/ndtest.h -- 2.26.2 _______________________________________________ Linux-nvdimm mailing list -- [email protected] To unsubscribe send an email to [email protected]
