|
|
Subscribe / Log in / New account

cxl: Preparation of type2 accelerators support

From:  Huang Ying <ying.huang-AT-intel.com>
To:  Dan Williams <dan.j.williams-AT-intel.com>, Dave Jiang <dave.jiang-AT-intel.com>
Subject:  [RFC 0/5] cxl: Preparation of type2 accelerators support
Date:  Wed, 25 Sep 2024 10:46:42 +0800
Message-ID:  <20240925024647.46735-1-ying.huang@intel.com>
Cc:  linux-cxl-AT-vger.kernel.org, linux-kernel-AT-vger.kernel.org, Huang Ying <ying.huang-AT-intel.com>, Davidlohr Bueso <dave-AT-stgolabs.net>, Jonathan Cameron <jonathan.cameron-AT-huawei.com>, Alison Schofield <alison.schofield-AT-intel.com>, Vishal Verma <vishal.l.verma-AT-intel.com>, Ira Weiny <ira.weiny-AT-intel.com>, Alejandro Lucero <alucerop-AT-amd.com>
Archive-link:  Article

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

[1] https://lore.kernel.org/linux-cxl/168592149709.1948938.86...
[2] https://lore.kernel.org/linux-cxl/20240516081202.27023-1-...

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 (5):
  cxl: Rename ACPI_CEDT_CFMWS_RESTRICT_TYPE2/TYPE3
  cxl: Rename CXL_DECODER_HOSTONLYMEM/DEVMEM
  cxl: Separate coherence from target type
  cxl: Set type of region to that of the first endpoint
  cxl: Avoid to create dax regions for type2 accelerators

 drivers/cxl/acpi.c           |  9 +++---
 drivers/cxl/core/hdm.c       | 38 +++++++++++++----------
 drivers/cxl/core/mbox.c      |  1 +
 drivers/cxl/core/port.c      | 17 ++++++-----
 drivers/cxl/core/region.c    | 58 ++++++++++++++++++++++++++++++------
 drivers/cxl/cxl.h            | 28 +++++++++++------
 drivers/cxl/cxlmem.h         | 11 +++++++
 include/acpi/actbl1.h        | 10 +++----
 tools/testing/cxl/test/cxl.c | 24 +++++++--------
 9 files changed, 133 insertions(+), 63 deletions(-)

Best Regards,
Huang, Ying



Copyright © 2024, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds