tools/testing/cxl: add mock output for the GET_HEALTH_INFO command
authorVishal Verma <vishal.l.verma@intel.com>
Mon, 18 Oct 2021 05:12:51 +0000 (23:12 -0600)
committerDan Williams <dan.j.williams@intel.com>
Mon, 15 Nov 2021 19:02:59 +0000 (11:02 -0800)
commit09eac2ca988a866225a174212765f77c85702206
tree8c47f902131ebe1e0adbeaddfbaae7713fa9803b
parenta91bd78967c49b43d2835695c7b53b11170c98f4
tools/testing/cxl: add mock output for the GET_HEALTH_INFO command

Add mocked health information for cxl_test memdevs. This allows
cxl-cli's 'list' command to display the canned health_info fields.

Cc: Dan Williams <dan.j.williams@intel.com>
Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Signed-off-by: Vishal Verma <vishal.l.verma@intel.com>
Link: https://lore.kernel.org/r/20211018051251.2289112-1-vishal.l.verma@intel.com
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
tools/testing/cxl/test/mem.c