]> www.infradead.org Git - users/jedix/linux-maple.git/commit
cxl/test: Add Get Feature support to cxl_test
authorDave Jiang <dave.jiang@intel.com>
Fri, 7 Mar 2025 20:55:36 +0000 (13:55 -0700)
committerJason Gunthorpe <jgg@nvidia.com>
Mon, 17 Mar 2025 17:41:37 +0000 (14:41 -0300)
commite77e9c1079785b64051460da4c5014481c51164a
treeda63bb7f9fbb7ef052a70f7ef4a79913860ffefd
parenteb5dfcb9e36d0e46089fec777d911313c1876fa3
cxl/test: Add Get Feature support to cxl_test

Add emulation of Get Feature command to cxl_test. The feature for
device patrol scrub is returned by the emulation code. This is
the only feature currently supported by cxl_test. It returns
the information for the device patrol scrub feature.

Link: https://patch.msgid.link/r/20250307205648.1021626-7-dave.jiang@intel.com
Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Reviewed-by: Dan Williams <dan.j.williams@intel.com>
Reviewed-by: Li Ming <ming.li@zohomail.com>
Signed-off-by: Dave Jiang <dave.jiang@intel.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
tools/testing/cxl/test/mem.c