Add support of AMD AE4DMA DMA Engine
Status from this message: Applied, thanks!
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v8 Latest6 patches 1 replyApplied
- v76 patches 0 repliesSuperseded
- v66 patches 8 repliesSuperseded
Earlier versions · 5
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v5 | 7 patches | 6 replies | Superseded | |
| v4 | 7 patches | 3 replies | Superseded | |
| v3 | 7 patches | 2 replies | Superseded | |
| v2 | 7 patches | 9 replies | Superseded | |
| v1 | 7 patches | 6 replies | Superseded |
Changes in v8 from the cover letter
-Addressed warnings reported by the kernel test robot.
Patches in v8 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | dmaengine: Move AMD PTDMA driver to amd directoryMAINTAINERS drivers/ drivers/ +9 more | +18 | 0 replies | |
| 2/6 | dmaengine: ae4dma: Add AMD ae4dma controller driverMAINTAINERS drivers/ drivers/ +5 more | +485 | 0 replies | |
| 3/6 | dmaengine: ptdma: Extend ptdma to support multi-channel and versiondrivers/ drivers/ drivers/ | +89 | 0 replies | |
| 4/6 | dmaengine: ae4dma: Register AE4DMA using pt_dmaengine_registerdrivers/ drivers/ drivers/ +1 more | +74 | 0 replies | |
| 5/6 | dmaengine: ptdma: Extend ptdma-debugfs to support multi-queuedrivers/ | +57 | 0 replies | |
| 6/6 | dmaengine: ae4dma: Register debugfs using ptdma_debugfs_setupdrivers/ drivers/ | +3 | 0 replies |
Reviews trailers per patch
All 6 patches have a Reviewed-by or Acked-by.
| Patch | Raju Rangoju | Philipp Stanner |
|---|---|---|
| 1/6 | R-b | |
| 2/6 | R-b | R-b |
| 3/6 | R-b | |
| 4/6 | R-b | R-b |
| 5/6 | R-b | |
| 6/6 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v8 0/6] Add support of AMD AE4DMA DMA Engine
AMD AE4DMA Controller is a multi-queue DMA controller. Its design differs significantly from PTDMA controller, although some functionalities overlap. All functionalities similar to PTDMA are extended and merged within PTDMA code to support both PTDMA and AE4DMA for code reuse. A new AE4DMA driver directory is created to house unique AE4DMA code, ensuring efficient handling of AE4DMA functionalities.
Changes in v8:
-Addressed warnings reported by the kernel test robot.
Changes in v7:
- Changed the subject line to reflect the driver name.
- Moved the code to reflect the changes in the first place.
Changes in v6:
- Moved the wake_up call just before the return statement.
- Changed hex values to lowercase.
- Removed the common directory and added header files directly into the C files.
Changes in v5:
- Initialized the buffer to zero before using snprintf.
- Changed the function name to avoid a duplicate symbol error, as pointed out in the link below.
Changes in v4:
- Removed blank lines and grouped the mutexes into a single block.
- Replaced all magic numbers with #define macros.
- Added short comment for error codes.
- Replaced the while loop with a for loop.
Changes in v3:
- Added COMPILE_TEST to the Kconfig.
- Considered using pci_alloc_irq_vectors and pci_free_irq_vectors.
- Removed mb() and atomic variables where applicable.
Changes in v2:
- Changed all variants of "mb" to "dma_mb.
- Changed cancel_delayed_work to cancel_delayed_work_sync.
- Removed 32bit dma_set_mask_and_coherent.
- Rearrange the order of the #include directives alphabetically
Basavaraj Natikar (6):
dmaengine: Move AMD PTDMA driver to amd directory
dmaengine: ae4dma: Add AMD ae4dma controller driver
dmaengine: ptdma: Extend ptdma to support multi-channel and version
dmaengine: ae4dma: Register AE4DMA using pt_dmaengine_register
dmaengine: ptdma: Extend ptdma-debugfs to support multi-queue
dmaengine: ae4dma: Register debugfs using ptdma_debugfs_setup
MAINTAINERS | 10 +-
drivers/dma/Kconfig | 2 -
drivers/dma/Makefile | 1 -
drivers/dma/amd/Kconfig | 28 +++
drivers/dma/amd/Makefile | 2 +
drivers/dma/amd/ae4dma/Makefile | 10 +
drivers/dma/amd/ae4dma/ae4dma-dev.c | 157 ++++++++++++
drivers/dma/amd/ae4dma/ae4dma-pci.c | 158 ++++++++++++
drivers/dma/amd/ae4dma/ae4dma.h | 100 ++++++++
drivers/dma/{ => amd}/ptdma/Makefile | 0
drivers/dma/{ => amd}/ptdma/ptdma-debugfs.c | 79 ++++--
drivers/dma/{ => amd}/ptdma/ptdma-dev.c | 0
drivers/dma/{ => amd}/ptdma/ptdma-dmaengine.c | 226 ++++++++++++++++--
drivers/dma/{ => amd}/ptdma/ptdma-pci.c | 0
drivers/dma/{ => amd}/ptdma/ptdma.h | 4 +-
drivers/dma/ptdma/Kconfig | 13 -
16 files changed, 726 insertions(+), 64 deletions(-)
create mode 100644 drivers/dma/amd/ae4dma/Makefile
create mode 100644 drivers/dma/amd/ae4dma/ae4dma-dev.c
create mode 100644 drivers/dma/amd/ae4dma/ae4dma-pci.c
create mode 100644 drivers/dma/amd/ae4dma/ae4dma.h
rename drivers/dma/{ => amd}/ptdma/Makefile (100%)
rename drivers/dma/{ => amd}/ptdma/ptdma-debugfs.c (52%)
rename drivers/dma/{ => amd}/ptdma/ptdma-dev.c (100%)
rename drivers/dma/{ => amd}/ptdma/ptdma-dmaengine.c (59%)
rename drivers/dma/{ => amd}/ptdma/ptdma-pci.c (100%)
rename drivers/dma/{ => amd}/ptdma/ptdma.h (99%)
delete mode 100644 drivers/dma/ptdma/KconfigSignature · 1 line
2.25.1