cxl/core/port: Fix / relax decoder target enumeration
authorDan Williams <dan.j.williams@intel.com>
Wed, 26 Jan 2022 05:24:04 +0000 (21:24 -0800)
committerDan Williams <dan.j.williams@intel.com>
Wed, 9 Feb 2022 07:15:10 +0000 (23:15 -0800)
commit0909b4e5287bcda34f00da878ac1f37a0921d959
treefd7862c5ff63bc3520d79b76eab141c02c35a9a0
parent64cda3ae6bc785960cd1b4f78c19f7ca53e0130b
cxl/core/port: Fix / relax decoder target enumeration

If the decoder is not presently active the target_list may not be
accurate. Perform a best effort mapping and assume that it will be fixed
up when the decoder is enabled.

Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Link: https://lore.kernel.org/r/164317464406.3438644.6609329492458460242.stgit@dwillia2-desk3.amr.corp.intel.com
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
drivers/cxl/acpi.c
drivers/cxl/core/port.c