linux-yocto/tools/testing/cxl/test
Dan Williams 3a2b97b321 cxl/test: Improve init-order fidelity relative to real-world systems
The investigation of an initialization failure [1] highlighted that
cxl_test does not reflect the init-order of real world systems. The
expected order is root/bus first then async probing of the memory
devices.

Fix up cxl_test to reflect that order. While it did not reproduce the
initial bug report (since that is dependent on built-in vs modular
builds), it did reveal a separate latent bug in the subsystem's decoder
shutdown flow. Fix for that sent separately.

Link: http://lore.kernel.org/20241004212504.1246-1-gourry@gourry.net [1]
Cc: Davidlohr Bueso <dave@stgolabs.net>
Cc: Jonathan Cameron <jonathan.cameron@huawei.com>
Cc: Dave Jiang <dave.jiang@intel.com>
Cc: Alison Schofield <alison.schofield@intel.com>
Cc: Vishal Verma <vishal.l.verma@intel.com>
Cc: Ira Weiny <ira.weiny@intel.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Link: https://patch.msgid.link/172964784521.81806.15791069994065969243.stgit@dwillia2-xfh.jf.intel.com
Signed-off-by: Ira Weiny <ira.weiny@intel.com>
2024-10-25 16:07:04 -05:00
..
cxl.c cxl/test: Improve init-order fidelity relative to real-world systems 2024-10-25 16:07:04 -05:00
Kbuild tools/testing/cxl: Disable "missing prototypes / declarations" warnings 2024-01-22 10:41:59 -08:00
mem.c cxl/test: Improve init-order fidelity relative to real-world systems 2024-10-25 16:07:04 -05:00
mock.c cxl/pci: Remove duplicated implementation of waiting for memory_info_valid 2024-09-09 11:33:44 -07:00
mock.h cxl/test: Add support for qos_class checking 2024-02-16 23:20:34 -08:00