RFC cxl: Region attach for accelerators
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest4 patches 10 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | cxl/mem: Add support to cleanly continue after attachdrivers/ | +13 | 2 replies | |
| 2/4 | cxl/region: Move region lock error code to -EBUSYdrivers/ | +1 | 0 replies | |
| 3/4 | cxl/region: Block region delete for locked regionsdrivers/ | +6 | 0 replies | |
| 4/4 | cxl/region: Introduce cxl_memdev_attach_regiondrivers/ include/ | +141 | 8 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [RFC PATCH 0/4] cxl: Region attach for accelerators
Here is a collection of proposed fixups to get basic CXL accelerator driver attachment operational. The primary goal here is communicate the auto-assembled region parameters to an accelerator driver while also following existing CXL subsystem lifetime rules.
It is RFC due to lack of testing, but passing basic smoke tests so far.
It applies on top of the latest state of the for-7.1/cxl-type2-support branch in cxl.git [1].
https://git.kernel.org/pub/scm/linux/kernel/git/cxl/cxl.git/log/?h=for-7.1/cxl-type2-support
Dan Williams (4):
cxl/mem: Add support to cleanly continue after attach cxl/region: Move region lock error code to -EBUSY cxl/region: Block region delete for locked regions cxl/region: Introduce cxl_memdev_attach_region
include/cxl/cxl.h | 16 +++++ drivers/cxl/core/region.c | 136 ++++++++++++++++++++++++++++++++++++-- drivers/cxl/mem.c | 14 +++- 3 files changed, 161 insertions(+), 5 deletions(-)
base-commit: ccabeb15ced4c06eeff7e35d6a54e7835d3d160a
Signature · 1 line
2.53.0