[PATCH 0/3] cxl: Preparation of type2 accelerators support

From: Huang Ying
Date: Mon Jul 29 2024 - 04:46:35 EST


There have been 2 series to add type 2 accelerators support in [1] and [2].

[1] https://lore.kernel.org/linux-cxl/168592149709.1948938.8663425987110396027.stgit@xxxxxxxxxxxxxxxxxxxxxxxxx/
[2] https://lore.kernel.org/linux-cxl/20240516081202.27023-1-alucerop@xxxxxxx/

Both provide relative complete support, but both are long too. To
make it easier to review, some preparation of type2 accelerators
support is implemented in this series. More complete support can be
implemented based on it.

This series has been tested with cxl_test via mocking a type2
accelerator as in [1] above. Because more type2 accelerators support
than that provided by this series is needed to simulate the device,
the cxl_test patch isn't included in the series.

Huang Ying (3):
cxl: Set target type of root decoder based on CFMWS restrictions
cxl: Set target type of region with that of root decoder
cxl: Avoid to create dax regions for type2 accelerators

drivers/cxl/acpi.c | 5 ++++-
drivers/cxl/core/region.c | 11 ++++++++++-
2 files changed, 14 insertions(+), 2 deletions(-)

Best Regards,
Huang, Ying