mbox series

[v2,0/2] Return EBUSY on inject poison limit reached

Message ID cover.1720316188.git.alison.schofield@intel.com
Headers show
Series Return EBUSY on inject poison limit reached | expand

Message

Alison Schofield July 7, 2024, 1:53 a.m. UTC
From: Alison Schofield <alison.schofield@intel.com>

Changes in v2:
- Use poison_inject_dev_max in cxl-test dev_dbg() msg and note that
  change in the Patch 2 commit log (Xingtao)
Link to v1: https://lore.kernel.org/cover.1720052137.git.alison.schofield@intel.com/

Validation users are asking for the ability to recognize when
their injection testing has hit the limit of the device.

Change the drivers error code for this failure to EBUSY and do
the same in the cxl-test mock of inject poison.

Alison Schofield (2):
  cxl/memdev: Replace ENXIO with EBUSY for inject poison limit reached
  cxl/test: Replace ENXIO with EBUSY for inject poison limit reached

 Documentation/ABI/testing/debugfs-cxl |  7 ++++---
 drivers/cxl/cxlmem.h                  |  2 +-
 tools/testing/cxl/test/mem.c          | 15 +++++++--------
 3 files changed, 12 insertions(+), 12 deletions(-)


base-commit: 22a40d14b572deb80c0648557f4bd502d7e83826