cxlflash: OCXL transport support and miscellaneous fixes
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest41 patches 5 repliesIn review
- v238 patches 23 repliesSuperseded
- v138 patches 6 repliesSuperseded
Changes in v3 from the cover letter
- Addressed comments by Frederic Barrat
- Resolved IDR initialization bug
- Properly identify functions that do not have an AFU defined
- Added 3 new patches to the end of the series which resolve corner cases
Patches in v3 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/41 | cxlflash: Preserve number of interrupts for master contextsdrivers/ drivers/ | +9 | 0 replies | |
| 2/41 | cxlflash: Avoid clobbering context control register valuedrivers/ drivers/ | +5 | 0 replies | |
| 3/41 | cxlflash: Add argument identifier namesdrivers/ drivers/ | +27 | 0 replies | |
| 4/41 | cxlflash: Introduce OCXL backenddrivers/ drivers/ drivers/ +1 more | +25 | 0 replies | |
| 5/41 | cxlflash: Hardware AFU for OCXLdrivers/ drivers/ drivers/ +2 more | +73 | 0 replies | |
| 6/41 | cxlflash: Read host function configurationdrivers/ drivers/ | +48 | 0 replies | |
| 7/41 | cxlflash: Setup function acTag rangedrivers/ drivers/ | +18 | 0 replies | |
| 8/41 | cxlflash: Read host AFU configurationdrivers/ drivers/ | +39 | 0 replies | |
| 9/41 | cxlflash: Setup AFU acTag rangedrivers/ drivers/ | +15 | 0 replies | |
| 10/41 | cxlflash: Setup AFU PASIDdrivers/ drivers/ | +4 | 0 replies | |
| 11/41 | cxlflash: Adapter context support for OCXLdrivers/ drivers/ | +96 | 0 replies | |
| 12/41 | cxlflash: Use IDR to manage adapter contextsdrivers/ drivers/ | +21 | 0 replies | |
| 13/41 | cxlflash: Support adapter file descriptors for OCXLdrivers/ drivers/ | +201 | 0 replies | |
| 14/41 | cxlflash: Support adapter context discoverydrivers/ | +26 | 0 replies | |
| 15/41 | cxlflash: Support image reload policy modificationdrivers/ drivers/ | +14 | 0 replies | |
| 16/41 | cxlflash: MMIO map the AFUdrivers/ drivers/ | +77 | 0 replies | |
| 17/41 | cxlflash: Support starting an adapter contextdrivers/ drivers/ | +42 | 0 replies | |
| 18/41 | cxlflash: Support process specific mappingsdrivers/ | +24 | 0 replies | |
| 19/41 | cxlflash: Support AFU state togglingdrivers/ | +9 | 0 replies | |
| 20/41 | cxlflash: Support reading adapter VPD datadrivers/ | +15 | 0 replies | |
| 21/41 | cxlflash: Setup function OCXL linkdrivers/ drivers/ | +23 | 0 replies | |
| 22/41 | cxlflash: Setup OCXL transaction layerdrivers/ | +10 | 0 replies | |
| 23/41 | cxlflash: Support process element lifecycledrivers/ | +50 | 0 replies | |
| 24/41 | cxlflash: Support AFU interrupt managementdrivers/ drivers/ | +114 | 0 replies | |
| 25/41 | cxlflash: Support AFU interrupt mapping and registrationdrivers/ drivers/ | +122 | 0 replies | |
| 26/41 | cxlflash: Support starting user contextsdrivers/ drivers/ | +100 | 0 replies | |
| 27/41 | cxlflash: Support adapter context pollingdrivers/ drivers/ | +57 | 0 replies | |
| 28/41 | cxlflash: Support adapter context readingdrivers/ | +94 | 0 replies | |
| 29/41 | cxlflash: Support adapter context mmap and releasedrivers/ | +72 | 0 replies | |
| 30/41 | cxlflash: Support file descriptor mappingdrivers/ | +26 | 0 replies | |
| 31/41 | cxlflash: Introduce object handle fopdrivers/ drivers/ drivers/ | +26 | 0 replies | |
| 32/41 | cxlflash: Setup LISNs for user contextsdrivers/ drivers/ drivers/ | +24 | 0 replies | |
| 33/41 | cxlflash: Setup LISNs for master contextsdrivers/ | +21 | 0 replies | |
| 34/41 | cxlflash: Update synchronous interrupt status bitsdrivers/ | +21 | 0 replies | |
| 35/41 | cxlflash: Introduce OCXL context state machinedrivers/ drivers/ | +64 | 0 replies | |
| 36/41 | cxlflash: Register for translation errorsdrivers/ drivers/ | +33 | 0 replies | |
| 37/41 | cxlflash: Support AFU resetdrivers/ | +17 | 0 replies | |
| 38/41 | cxlflash: Enable OCXL operationsdrivers/ drivers/ | +8 | 0 replies | |
| 39/41 | cxlflash: Synchronize reset and remove opsdrivers/ | +3 | 1 reply | |
| 40/41 | cxlflash: Remove commmands from pending list on timeoutdrivers/ | +14 | 1 reply | |
| 41/41 | cxlflash: Handle spurious interruptsdrivers/ drivers/ | +12 | 1 reply |
Reviews trailers per patch
40 of 41 patches have a Reviewed-by or Acked-by.
| Patch | Matthew R. Ochs | Andrew Donnellan | Frederic Barrat |
|---|---|---|---|
| 1/41 | A-b | ||
| 2/41 | |||
| 3/41 | A-b | ||
| 4/41 | A-b | R-b | |
| 5/41 | A-b | R-b | |
| 6/41 | A-b | R-b | R-b |
| 7/41 | A-b | R-b | R-b |
| 8/41 | A-b | R-b | R-b |
| 9/41 | A-b | R-b | R-b |
| 10/41 | A-b | R-b | R-b |
| 11/41 | A-b | R-b | |
| 12/41 | A-b | ||
| 13/41 | A-b | ||
| 14/41 | A-b | ||
| 15/41 | A-b | ||
| 16/41 | A-b | R-b | |
| 17/41 | A-b | ||
| 18/41 | A-b | ||
| 19/41 | A-b | R-b | |
| 20/41 | A-b | ||
| 21/41 | A-b | R-b | |
| 22/41 | A-b | ||
| 23/41 | A-b | ||
| 24/41 | A-b | ||
| 25/41 | A-b | ||
| 26/41 | A-b | ||
| 27/41 | A-b | ||
| 28/41 | A-b | ||
| 29/41 | A-b | ||
| 30/41 | A-b | ||
| 31/41 | A-b | ||
| 32/41 | A-b | ||
| 33/41 | A-b | ||
| 34/41 | A-b | ||
| 35/41 | A-b | ||
| 36/41 | A-b | ||
| 37/41 | A-b | ||
| 38/41 | A-b | ||
| 39/41 | A-b | ||
| 40/41 | A-b | ||
| 41/41 | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.
Cover letter [PATCH v3 00/41] cxlflash: OCXL transport support and miscellaneous fixes
This patch series adds OCXL support to the cxlflash driver. With this support, new devices using the OCXL transport will be supported by the cxlflash driver along with the existing CXL devices. An effort is made to keep this transport specific function independent of the existing core driver that communicates with the AFU.
The first three patches contain a minor fix and staging improvements.
This series is intended for 4.17 and is bisectable.
v3 Changes:
- Addressed comments by Frederic Barrat
- Resolved IDR initialization bug
- Properly identify functions that do not have an AFU defined
- Added 3 new patches to the end of the series which resolve corner cases
v2 Changes:
- Replaced OpenCXL with OCXL in the commit messages and comments
Matthew R. Ochs (1):
cxlflash: Avoid clobbering context control register value
Uma Krishnan (40):
cxlflash: Preserve number of interrupts for master contexts
cxlflash: Add argument identifier names
cxlflash: Introduce OCXL backend
cxlflash: Hardware AFU for OCXL
cxlflash: Read host function configuration
cxlflash: Setup function acTag range
cxlflash: Read host AFU configuration
cxlflash: Setup AFU acTag range
cxlflash: Setup AFU PASID
cxlflash: Adapter context support for OCXL
cxlflash: Use IDR to manage adapter contexts
cxlflash: Support adapter file descriptors for OCXL
cxlflash: Support adapter context discovery
cxlflash: Support image reload policy modification
cxlflash: MMIO map the AFU
cxlflash: Support starting an adapter context
cxlflash: Support process specific mappings
cxlflash: Support AFU state toggling
cxlflash: Support reading adapter VPD data
cxlflash: Setup function OCXL link
cxlflash: Setup OCXL transaction layer
cxlflash: Support process element lifecycle
cxlflash: Support AFU interrupt management
cxlflash: Support AFU interrupt mapping and registration
cxlflash: Support starting user contexts
cxlflash: Support adapter context polling
cxlflash: Support adapter context reading
cxlflash: Support adapter context mmap and release
cxlflash: Support file descriptor mapping
cxlflash: Introduce object handle fop
cxlflash: Setup LISNs for user contexts
cxlflash: Setup LISNs for master contexts
cxlflash: Update synchronous interrupt status bits
cxlflash: Introduce OCXL context state machine
cxlflash: Register for translation errors
cxlflash: Support AFU reset
cxlflash: Enable OCXL operations
cxlflash: Synchronize reset and remove ops
cxlflash: Remove commmands from pending list on timeout
cxlflash: Handle spurious interrupts
drivers/scsi/cxlflash/Kconfig | 2 +- drivers/scsi/cxlflash/Makefile | 2 +- drivers/scsi/cxlflash/backend.h | 50 +- drivers/scsi/cxlflash/common.h | 11 +- drivers/scsi/cxlflash/cxl_hw.c | 13 + drivers/scsi/cxlflash/main.c | 86 ++- drivers/scsi/cxlflash/main.h | 1 + drivers/scsi/cxlflash/ocxl_hw.c | 1436 +++++++++++++++++++++++++++++++++++++ drivers/scsi/cxlflash/ocxl_hw.h | 77 ++ drivers/scsi/cxlflash/sislite.h | 41 +- drivers/scsi/cxlflash/superpipe.c | 14 + 11 files changed, 1682 insertions(+), 51 deletions(-) create mode 100644 drivers/scsi/cxlflash/ocxl_hw.c create mode 100644 drivers/scsi/cxlflash/ocxl_hw.h
Signature · 1 line
2.1.0