On 7/15/2022 2:29 PM, Davidlohr Bueso wrote:
On Fri, 15 Jul 2022, Dave Jiang wrote:
This series is seeking comments on the implementation. It has not
been fully
tested yet.
Sorry if this is already somewhere, but how exactly does one test the
mock device?
So you can do "make M=tools/testing/cxl" to build cxl_test drivers. It's
similar to ndctl_test and the ndctl README has some instruction on how
to build and load. Probably should add some information for cxl_test in
that file. The run_qemu tool from Vishal also provides support for this
if you add the --cxl-test switch.