Skip to content

Enable CXL protocol testing

Terry Bowman 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/3test/cxl: Enable CXL protocol error testing using aer-injecttest/contrib/cxl-aer-einj/README.md test/contrib/cxl-aer-einj/scripts/ds-ce-inject.sh test/contrib/cxl-aer-einj/scripts/ds-uce-inject.sh +7 more+117 -01 reply
2/3test/aer-inject: Add aer-inject correctable and uncorrectable interanl error supporttest/contrib/cxl-aer-einj/patches/0001-aer-inject-Add-internal-error-injection-support.patch+91 -00 replies
3/3test/cxl: Force RAS status in cxl_handle_cor_ras() and cxl_handle_ras()test/contrib/cxl-aer-einj/patches/0001-test-cxl-Force-RAS-status-in-cxl_handle_cor_ras-and-.patch+51 -01 reply

Reviews trailers per patch

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

Read the v1 thread

Cover letter [ndctl PATCH 0/3] Enable CXL protocol testing

Current CXL error injection (EINJ) only supports Root Port protocol error injection but a method to test all CXL devices is needed. This series outlines methods to update both the kernel and the 'aer-inject' tool-without relying on EINJ-to enable CXL RAS protocol error handling across all CXL devices.

The first patch provides the scripts to enable and trigger AER protocol errors. This patch also includes the README.md with install details.

The second patch enables correctable and uncorrectable AER internal error handling in the aer-inject tool.

The third patch is a kernel patch to set the RAS status in the handler.

Terry Bowman (3):
test/cxl: Enable CXL protocol error testing using aer-inject test/aer-inject: Add aer-inject correctable and uncorrectable interanl
error support
test/cxl: Force RAS status in cxl_handle_cor_ras() and
cxl_handle_ras()

 test/contrib/cxl-aer-einj/README.md           | 80 ++++++++++++++++
 ...Add-internal-error-injection-support.patch | 91 +++++++++++++++++++
 ...AS-status-in-cxl_handle_cor_ras-and-.patch | 51 +++++++++++
 .../cxl-aer-einj/scripts/ds-ce-inject.sh      |  4 +
 .../cxl-aer-einj/scripts/ds-uce-inject.sh     |  4 +
 .../cxl-aer-einj/scripts/enable-trace.sh      |  5 +
 .../cxl-aer-einj/scripts/ep-ce-inject.sh      |  4 +
 .../cxl-aer-einj/scripts/ep-uce-inject.sh     |  4 +
 .../cxl-aer-einj/scripts/root-ce-inject.sh    |  4 +
 .../cxl-aer-einj/scripts/root-uce-inject.sh   |  4 +
 .../cxl-aer-einj/scripts/us-ce-inject.sh      |  4 +
 .../cxl-aer-einj/scripts/us-uce-inject.sh     |  4 +
 12 files changed, 259 insertions(+)
 create mode 100644 test/contrib/cxl-aer-einj/README.md
 create mode 100644 test/contrib/cxl-aer-einj/patches/0001-aer-inject-Add-internal-error-injection-support.patch
 create mode 100644 test/contrib/cxl-aer-einj/patches/0001-test-cxl-Force-RAS-status-in-cxl_handle_cor_ras-and-.patch
 create mode 100755 test/contrib/cxl-aer-einj/scripts/ds-ce-inject.sh
 create mode 100755 test/contrib/cxl-aer-einj/scripts/ds-uce-inject.sh
 create mode 100755 test/contrib/cxl-aer-einj/scripts/enable-trace.sh
 create mode 100755 test/contrib/cxl-aer-einj/scripts/ep-ce-inject.sh
 create mode 100755 test/contrib/cxl-aer-einj/scripts/ep-uce-inject.sh
 create mode 100755 test/contrib/cxl-aer-einj/scripts/root-ce-inject.sh
 create mode 100755 test/contrib/cxl-aer-einj/scripts/root-uce-inject.sh
 create mode 100755 test/contrib/cxl-aer-einj/scripts/us-ce-inject.sh
 create mode 100755 test/contrib/cxl-aer-einj/scripts/us-uce-inject.sh

base-commit: 8ad90e54f0ff4f7291e7f21d44d769d10f24e2b6

Signature · 1 line
2.34.1