Skip to content

cxl/test: Add unit testing for extended linear cache

Dave Jiang linux-cxl 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 9 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4cxl/test: Standardize CXL auto region sizetools/testing/cxl/test/cxl.c+6 -42 replies
2/4cxl/test: Add cxl_test CFMWS support for extended linear cachetools/testing/cxl/test/cxl.c+24 -02 replies
3/4cxl/test: Add support for acpi extended linear cachetools/testing/cxl/Kbuild tools/testing/cxl/test/cxl.c tools/testing/cxl/test/mock.c +1 more+45 -02 replies
4/4cxl: Adjust offset calculation for poison injectiondrivers/cxl/core/region.c+2 -03 replies

Reviews trailers per patch

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

PatchAlison SchofieldJonathan Cameron
1/4T-b R-b R-b
2/4T-b R-b R-b
3/4T-b R-b R-b
4/4R-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 [PATCH 0/4] cxl/test: Add unit testing for extended linear cache

The series adds support for mocking of extended linear cache support in cxl_test. A module parameter is introduced to activate the mocking. Tests will be added to CXL CLI user tools for regression testing.

This series depends on the patch [1] that provides the extended linear cache size via sysfs.

[1]: https://lore.kernel.org/linux-cxl/[email protected]/

Dave Jiang (4):
cxl/test: Standardize CXL auto region size
cxl/test: Add cxl_test CFMWS support for extended linear cache cxl/test: Add support for acpi extended linear cache
cxl: Adjust offset calculation for poison injection

 drivers/cxl/core/region.c     |  2 ++
 tools/testing/cxl/Kbuild      |  1 +
 tools/testing/cxl/test/cxl.c  | 55 ++++++++++++++++++++++++++++++++---
 tools/testing/cxl/test/mock.c | 20 +++++++++++++
 tools/testing/cxl/test/mock.h |  3 ++
 5 files changed, 77 insertions(+), 4 deletions(-)

base-commit: 659163e60a142e8c3bd66f9865e1f8ffcb8cbd9b

Signature · 1 line
2.51.0