Skip to content

dma: fsl/mcf-edma: Bug fixes and enhancements for ColdFire support

Jean-Michel Hautbois b4-sent dmaengine imx linux-m68k lkml 2 versions – In review

Get series with b4
b4 am [email protected] change-id 20251123-dma-coldfire-5f36aee143b3

Versions newest first

  1. v2 Latest5 patches 7 repliesIn review
  2. v17 patches 10 repliesSuperseded

Changes in v2 from the cover letter

- Check devm_kasprintf() return value
- Keep request_irq on one line in naming patch
- Remove non needed memory barrier
- Remove the interleave patch for now
- Link to v1: https://lore.kernel.org/r/[email protected]

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5dma: fsl-edma: Add FSL_EDMA_DRV_MCF flag for ColdFire eDMAdrivers/dma/fsl-edma-common.h drivers/dma/mcf-edma-main.c+5 -20 replies
2/5dma: mcf-edma: Add per-channel IRQ naming for debuggingdrivers/dma/mcf-edma-main.c+18 -85 replies
3/5dma: mcf-edma: Fix interrupt handler for 64 DMA channelsdrivers/dma/mcf-edma-main.c+7 -60 replies
4/5dma: fsl-edma: Move error handler out of header filedrivers/dma/fsl-edma-common.c drivers/dma/fsl-edma-common.h+6 -50 replies
5/5dma: mcf-edma: Fix error handler for all 64 DMA channelsdrivers/dma/mcf-edma-main.c+16 -151 reply

Reviews trailers per patch

4 of 5 patches have a Reviewed-by or Acked-by.

PatchFrank Li
1/5R-b
2/5
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 v2 thread

Cover letter [PATCH v2 0/5] dma: fsl/mcf-edma: Bug fixes and enhancements for ColdFire support

This series addresses several bugs in the fsl-edma and mcf-edma drivers affecting MCF54418 ColdFire processors.

Patch 1 adds the FSL_EDMA_DRV_MCF flag to fix byte-lane addressing for MCF54418.

Patch 2 adds per-channel IRQ naming for easier debugging.

Patches 3-5 fix the interrupt and error handlers for all 64 DMA channels:
- Patch 3 fixes the interrupt handler to process all 64 channels
- Patch 4 moves the error handler out of the header file for clarity
- Patch 5 fixes the error handler for all 64 channels with proper types

Tested on a custom MCF54418-based platform with slave DMA transfers.

---
Changes in v2:
- Check devm_kasprintf() return value
- Keep request_irq on one line in naming patch
- Remove non needed memory barrier
- Remove the interleave patch for now
- Link to v1: https://lore.kernel.org/r/[email protected]

---
Jean-Michel Hautbois (5):
dma: fsl-edma: Add FSL_EDMA_DRV_MCF flag for ColdFire eDMA
dma: mcf-edma: Add per-channel IRQ naming for debugging
dma: mcf-edma: Fix interrupt handler for 64 DMA channels
dma: fsl-edma: Move error handler out of header file
dma: mcf-edma: Fix error handler for all 64 DMA channels

 drivers/dma/fsl-edma-common.c |  5 +++
 drivers/dma/fsl-edma-common.h | 11 +++----
 drivers/dma/mcf-edma-main.c   | 72 +++++++++++++++++++++++++------------------
 3 files changed, 52 insertions(+), 36 deletions(-)

---
base-commit: ac3fd01e4c1efce8f2c054cdeb2ddd2fc0fb150d
change-id: 20251123-dma-coldfire-5f36aee143b3

Best regards,

Signature · 1 line
Jean-Michel Hautbois <[email protected]>