Skip to content

cxl/test: CXL unit test helpers

[email protected] linux-cxl nvdimm 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 6 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3cxl/test: add and use cxl_common_[start|stop] helperstest/common test/cxl-create-region.sh test/cxl-events.sh +6 more+40 -1142 replies
2/3cxl/test: add a cxl_ derivative of check_dmesg()test/common+14 -12 replies
3/3cxl/test: use an explicit --since time in journalctltest/common+2 -12 replies

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchDave Jiang
1/3R-b
2/3R-b
3/3R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [ndctl PATCH 0/3] cxl/test: CXL unit test helpers

From: Alison Schofield <[email protected]>

This set started with the intent of expanding the check_dmesg() to look for the 'calc interleave' failure message that is added to kernel 6.7. It ended up being a bit more than that including a small reorg of some commonly used setup and shutdown commands plus a fixup to a timing issue with the dmesg log searches.

This does not depend upon 6.7 as it is only checking for the existence of the failed message. In fact, it's value at the moment, is probably in the hands of folks developing and testing on 6.7rc* and onward.

This is built upon ndctl origin/pending branch. (base commit below)

Alison Schofield (3):
cxl/test: add and use cxl_common_[start|stop] helpers cxl/test: add a cxl_ derivative of check_dmesg() cxl/test: use an explicit --since time in journalctl

 test/common                 | 37 +++++++++++++++++++++++++++++++++++++
 test/cxl-create-region.sh   | 16 ++--------------
 test/cxl-events.sh          | 18 +++---------------
 test/cxl-labels.sh          | 16 ++--------------
 test/cxl-poison.sh          | 17 ++---------------
 test/cxl-region-sysfs.sh    | 16 ++--------------
 test/cxl-topology.sh        | 16 ++--------------
 test/cxl-update-firmware.sh | 17 ++---------------
 test/cxl-xor-region.sh      | 15 ++-------------
 9 files changed, 54 insertions(+), 114 deletions(-)

base-commit: cbf049039482a56c2b66ede3e10d5e9c652890b7

Signature · 1 line
2.37.3