Skip to content

cxl: Some preparation work for type2 accelerators support

Huang Ying linux-cxl lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 18 repliesIn review

Changes in v1 from the cover letter

- Collected Reviewed-by, Thanks Davidlohr and Gregory.

- Some minor fixes, Thanks Ben and others

- Thanks Jonathan to suggest to revise type2/type3 and coherence naming.

- Rebased to latest upstream

- Link to RFC: https://lore.kernel.org/linux-cxl/[email protected]/

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5cxl: Rename ACPI_CEDT_CFMWS_RESTRICT_TYPE2/TYPE3drivers/cxl/acpi.c drivers/cxl/core/port.c drivers/cxl/cxl.h +2 more+29 -290 replies
2/5cxl: Rename CXL_DECODER_HOSTONLYMEM/DEVMEMdrivers/cxl/acpi.c drivers/cxl/core/hdm.c drivers/cxl/core/port.c +3 more+18 -184 replies
3/5cxl: Separate coherence from target typedrivers/cxl/core/hdm.c drivers/cxl/core/mbox.c drivers/cxl/core/port.c +3 more+73 -101 reply
4/5cxl: Set type of region to that of the first endpointdrivers/cxl/acpi.c drivers/cxl/core/hdm.c drivers/cxl/core/port.c +2 more+23 -225 replies
5/5cxl: Avoid to create dax regions for type2 acceleratorsdrivers/cxl/core/region.c+8 -08 replies

Reviews trailers per patch

All 5 patches have a Reviewed-by or Acked-by.

PatchDavidlohr BuesoGregory Price
1/5R-b R-b
2/5R-b R-b
3/5R-b
4/5R-b
5/5R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/5] cxl: Some preparation work for type2 accelerators support

This series implement some preparation work for the type2 accelerators support.

We have tested the series with cxl_test via mocking a type2 accelerator as in [1]. Because we need more type2 accelerators support to simulate a type2 device, we don't include the cxl_test patch in the series.

[1] https://lore.kernel.org/linux-cxl/168592149709.1948938.8663425987110396027.stgit@dwillia2-xfh.jf.intel.com/

Changes:

RFC->v1:

- Collected Reviewed-by, Thanks Davidlohr and Gregory.

- Some minor fixes, Thanks Ben and others

- Thanks Jonathan to suggest to revise type2/type3 and coherence naming.

- Rebased to latest upstream

- Link to RFC: https://lore.kernel.org/linux-cxl/[email protected]/

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            | 29 ++++++++++++------
 drivers/cxl/cxlmem.h         | 12 ++++++++
 include/acpi/actbl1.h        | 10 +++----
 tools/testing/cxl/test/cxl.c | 24 +++++++--------
 9 files changed, 135 insertions(+), 63 deletions(-)

Best Regards,
Huang, Ying