dmaengine: idxd: Add basic DSA 3.0 capability and SGL support
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest2 patches 3 repliesIn review
- v22 patches 5 repliesSuperseded
- v12 patches 10 repliesSuperseded
Changes in v3 from the cover letter
- Rebased the patch series onto v6.17-rc2 (Vinod)
- Added Tested-by and Acked-by tags
Patches in v3 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | dmaengine: idxd: Expose DSA3.0 capabilities through sysfsDocumentation/ drivers/ drivers/ +2 more | +73 | 3 replies | |
| 2/2 | dmaengine: idxd: Add Max SGL Size Support for DSA3.0drivers/ drivers/ drivers/ +1 more | +28 | 0 replies |
Reviews trailers per patch
All 2 patches have a Reviewed-by or Acked-by.
| Patch | Dave Jiang | Yi Lai | Vinicius Costa Gomes |
|---|---|---|---|
| 1/2 | R-b | T-b | A-b |
| 2/2 | R-b | T-b | 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 0/2] dmaengine: idxd: Add basic DSA 3.0 capability and SGL support
This patch series introduces foundational support for DSA 3.0 features, exposing hardware capability registers to userspace in the IDXD driver.
DSA 3.0 introduces several new features that require awareness and configuration from both kernel and userspace. It is necessary to understand the hardware's capabilities for userspace tools (e.g., idxd-config, libraries, and applications) to make use of the features properly, such as supported features, memory layouts, and opcode compatibility.
Patch 1/2 exposes the three new capability registers (dsacap0-2) introduced in the DSA 3.0 specification through a new sysfs entry. This allows tools and users to query hardware capabilities such as supported SGL formats, floating-point options, and maximum supported sizes.
Patch 2/2 enables configuration of the maximum SGL size for DSA 3.0 devices. Some DSA 3.0 opcodes (e.g., Gather Copy, Gather Reduce) require that the workqueue's SGL size is explicitly configured. This patch sets that value based on hardware capabilities at initialization time, allowing these opcodes to function without additional user configuration.
---
Changes in v3:
- Rebased the patch series onto v6.17-rc2 (Vinod)
- Added Tested-by and Acked-by tags
Changes in v2:
- Added the link to the DSA 3.0 spec in the commit message (Dave)
- Fixed typos in the commit messages (Fenghua)
- Updated the sysfs ABI documentation for accuracy (Fenghua)
- Renamed the ABI entry from 'dsacap' to 'dsacaps' (Fenghua, Philip)
- Moved the definition of dsacap0_reg from patch #2 to patch #1 (Fenghua)
- Fixed the output format (Fenghua, Philip)
- Reordered the capability registers to match the DSA 3.0 spec (Fenghua)
- Add conditon checking to avoid accessing dsacaps when DSA 3.0 is not supported (Fenghua)
Yi Sun (2):
dmaengine: idxd: Expose DSA3.0 capabilities through sysfs
dmaengine: idxd: Add Max SGL Size Support for DSA3.0
.../ABI/stable/sysfs-driver-dma-idxd | 15 ++++++++++ drivers/dma/idxd/device.c | 5 ++++ drivers/dma/idxd/idxd.h | 19 +++++++++++++ drivers/dma/idxd/init.c | 11 ++++++++ drivers/dma/idxd/registers.h | 28 ++++++++++++++++++- drivers/dma/idxd/sysfs.c | 24 ++++++++++++++++ 6 files changed, 101 insertions(+), 1 deletion(-)
Signature · 1 line
2.43.0