Skip to content

PMEM device emulation without nfit depenency

Santosh Sivaraj linux-nvdimm nvdimm 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7testing/nvdimm: Add test module for non-nfit platformstools/testing/nvdimm/config_check.c tools/testing/nvdimm/test/Kbuild tools/testing/nvdimm/test/ndtest.c +1 more+229 -20 replies
2/7ndtest: Add compatability string to treat it as PAPR familytools/testing/nvdimm/test/ndtest.c+23 -00 replies
3/7ndtest: Add dimms to the two busestools/testing/nvdimm/test/ndtest.c tools/testing/nvdimm/test/ndtest.h+294 -00 replies
4/7ndtest: Add dimm attributestools/testing/nvdimm/test/ndtest.c+200 -20 replies
5/7ndtest: Add regions and mappings to the test busestools/testing/nvdimm/test/ndtest.c tools/testing/nvdimm/test/ndtest.h+378 -00 replies
6/7ndtest: Add nvdimm control functionstools/testing/nvdimm/test/ndtest.c+51 -00 replies
7/7ndtest: Add papr health related flagstools/testing/nvdimm/test/ndtest.c tools/testing/nvdimm/test/ndtest.h+72 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [0/7] PMEM device emulation without nfit depenency

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
Signature · 4 lines
2.26.2
_______________________________________________
Linux-nvdimm mailing list -- [email protected]
To unsubscribe send an email to [email protected]