diff options
| author | Alison Schofield <[email protected]> | 2023-04-19 03:26:30 +0000 |
|---|---|---|
| committer | Dan Williams <[email protected]> | 2023-04-23 19:08:39 +0000 |
| commit | 371c16101ee8a076cbe93ab95bbefdb43927003e (patch) | |
| tree | 83544301745fec764678e014d88f7420bd480239 /tools/perf/scripts/python/stat-cpi.py | |
| parent | cxl/mem: Add debugfs attributes for poison inject and clear (diff) | |
| download | kernel-371c16101ee8a076cbe93ab95bbefdb43927003e.tar.gz kernel-371c16101ee8a076cbe93ab95bbefdb43927003e.zip | |
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 <[email protected]>
Reviewed-by: Dave Jiang <[email protected]>
Link: https://lore.kernel.org/r/f6b7f03541eaa8c2260d3eafadd04afe3f0d7962.1681874357.git.alison.schofield@intel.com
Signed-off-by: Dan Williams <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stat-cpi.py')
0 files changed, 0 insertions, 0 deletions
