]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
cxl/test: Setup target_map for cxl_test decoder initialization
authorDave Jiang <dave.jiang@intel.com>
Fri, 29 Aug 2025 18:09:27 +0000 (11:09 -0700)
committerDave Jiang <dave.jiang@intel.com>
Thu, 18 Sep 2025 16:55:23 +0000 (09:55 -0700)
commit87439b598ad962ffc5744e2e0a8b461e78d8d32f
tree18c28c9b6475caa03cb90d1c1b2f913a6c7b494a
parent644685abc16b58b3afcc2feb0ac14e86476ca2ed
cxl/test: Setup target_map for cxl_test decoder initialization

cxl_test uses mock functions for decoder enumaration. Add initialization
of the cxld->target_map[] for cxl_test based decoders in the mock
functions.

Reviewed-by: Jonathan Cameron <jonathan.cameron@huawei.com>
Tested-by: Robert Richter <rrichter@amd.com>
Reviewed-by: Alison Schofield <alison.schofield@intel.com>
Signed-off-by: Dave Jiang <dave.jiang@intel.com>
tools/testing/cxl/test/cxl.c