linux-stable/tools/testing/cxl/test
Alison Schofield 371c16101e tools/testing/cxl: Mock the Inject Poison mailbox command
Mock the injection of poison by storing the device:address entries in
mock_poison_list[]. Enforce a limit of 8 poison injections per memdev
device and 128 total entries for the cxl_test mock driver.

Introducing the mock_poison[] list here, makes it available for use in
the mock of Clear Poison, and the mock of Get Poison List.

Signed-off-by: Alison Schofield <alison.schofield@intel.com>
Reviewed-by: Dave Jiang <dave.jiang@intel.com>
Link: https://lore.kernel.org/r/f6b7f03541eaa8c2260d3eafadd04afe3f0d7962.1681874357.git.alison.schofield@intel.com
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
2023-04-23 12:08:39 -07:00
..
cxl.c Merge branch 'for-6.3/cxl-rr-emu' into cxl/next 2023-02-14 16:06:10 -08:00
Kbuild cxl/test: Add generic mock events 2023-01-26 16:51:07 -08:00
mem.c tools/testing/cxl: Mock the Inject Poison mailbox command 2023-04-23 12:08:39 -07:00
mock.c cxl/hdm: Create emulated cxl_hdm for devices that do not have HDM decoders 2023-02-14 15:45:21 -08:00
mock.h cxl/hdm: Create emulated cxl_hdm for devices that do not have HDM decoders 2023-02-14 15:45:21 -08:00