]> git.itanic.dy.fi Git - linux-stable/commit
tools/testing/cxl: Make cxl_memdev_state available to other command emulation
authorDan Williams <dan.j.williams@intel.com>
Wed, 4 Oct 2023 23:56:34 +0000 (16:56 -0700)
committerDan Williams <dan.j.williams@intel.com>
Mon, 9 Oct 2023 18:35:45 +0000 (11:35 -0700)
commit501b3d9fb036d58e88da434bc6473cec5f75644c
tree921967551dc9d8f455e7bf8003223068c9ac7b4d
parent88d3917f82ed4215a2154432c26de1480a61b209
tools/testing/cxl: Make cxl_memdev_state available to other command emulation

Move @mds out of the event specific 'struct mock_event_store' and into
the base 'struct cxl_mockmem_data' directly. This is in preparation for
enabling cxl_test to exercise the notifier flow for 'sanitize' operation
completion.

Reviewed-by: Ira Weiny <ira.weiny@intel.com>
Reviewed-by: Dave Jiang <dave.jiang@intel.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
tools/testing/cxl/test/mem.c