mbox series

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

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

Message

Alison Schofield July 4, 2024, 12:38 a.m. UTC
From: Alison Schofield <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          | 13 ++++++-------
 3 files changed, 11 insertions(+), 11 deletions(-)


base-commit: 22a40d14b572deb80c0648557f4bd502d7e83826

Comments

Dan Williams July 4, 2024, 1 a.m. UTC | #1
alison.schofield@ wrote:
> From: Alison Schofield <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          | 13 ++++++-------
>  3 files changed, 11 insertions(+), 11 deletions(-)

Looks good to me:

Reviewed-by: Dan Williams <dan.j.williams@intel.com>
Davidlohr Bueso July 6, 2024, 2:05 a.m. UTC | #2
On Wed, 03 Jul 2024, alison.schofield@intel.com wrote:

>From: Alison Schofield <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          | 13 ++++++-------
> 3 files changed, 11 insertions(+), 11 deletions(-)

Reviewed-by: Davidlohr Bueso <dave@stgolabs.net>