Skip to content

cxl: Add tests for extended linear cache support

Dave Jiang linux-cxl nvdimm 3 versions – Applied

Status from this message: Applied to pending: https://github.com/pmem/ndctl/commit/39085f7

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest posting 2/22 patches 3 repliesApplied
  2. v2 posting 1/23 patches 4 repliesSuperseded
  3. v15 patches 6 repliesApplied

Changes in v2 from the cover letter

- skip if no extended_linear_cache mod param. (Alison)
- Cleanup at the end. (Alison)
- Fix shellcheck double quote issues. (Alison)
- Err if elc region not found for cxl_test. (Alison)
- Add missing call to find_region() (Alison)
- Fixup jq query when setup also has qemu cxl devices.
- Dropped folded in patches. 2 and 3.
- Move poison changes to cxl-poison.sh and drop 4 and 5.

Patches in v2 posting 2/2 Applied

#Subject and filesSizeRepliesApplied
1/2cxl/test: Add test for extended linear cache supporttest/cxl-elc.sh test/meson.build+97 -02 replies
2/2cxl/test: Add support for poison test for ELCtest/cxl-poison.sh+39 -221 reply

Reviews trailers per patch

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

Read the v2 thread

Cover letter [NDCTL PATCH v2 0/2] cxl: Add tests for extended linear cache support

v2:
- skip if no extended_linear_cache mod param. (Alison)
- Cleanup at the end. (Alison)
- Fix shellcheck double quote issues. (Alison)
- Err if elc region not found for cxl_test. (Alison)
- Add missing call to find_region() (Alison)
- Fixup jq query when setup also has qemu cxl devices.
- Dropped folded in patches. 2 and 3.
- Move poison changes to cxl-poison.sh and drop 4 and 5.

The series adds unit tests to verify the kernel support for extended linear cache (ELC). Added a test to check if the ELC region is setup correctly, and augments the test to go through the poison handling flow via the poison injection testing.

Dave Jiang (2):
cxl/test: Add test for extended linear cache support cxl/test: Add support for poison test for ELC

 test/cxl-elc.sh    | 95 ++++++++++++++++++++++++++++++++++++++++++++++
 test/cxl-poison.sh | 61 ++++++++++++++++++-----------
 test/meson.build   |  2 +
 3 files changed, 136 insertions(+), 22 deletions(-)
 create mode 100755 test/cxl-elc.sh

base-commit: 8a94356bc9c0af493be76c0428eee24fe2f5594a

Signature · 1 line
2.51.1