public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/7] dma: fsl/mcf-edma: Bug fixes and enhancements for ColdFire support
@ 2025-11-24 12:50 Jean-Michel Hautbois
  2025-11-24 12:50 ` [PATCH 1/7] dma: fsl-edma: Add write barrier after TCD descriptor fill Jean-Michel Hautbois
                   ` (6 more replies)
  0 siblings, 7 replies; 20+ messages in thread
From: Jean-Michel Hautbois @ 2025-11-24 12:50 UTC (permalink / raw)
  To: Frank Li, Vinod Koul
  Cc: Greg Ungerer, imx, dmaengine, linux-m68k, linux-kernel,
	Jean-Michel Hautbois

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

Patch 1 adds a write barrier after TCD descriptor fill to ensure proper
memory ordering.

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

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

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

Patch 7 adds source stride support for interleaved DMA transfers,
enabling memory access patterns where source samples are not contiguous.

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

Signed-off-by: Jean-Michel Hautbois <jeanmichel.hautbois@yoseli.org>
---
Jean-Michel Hautbois (7):
      dma: fsl-edma: Add write barrier after TCD descriptor fill
      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
      dma: fsl-edma: Support source stride for interleaved DMA transfers

 drivers/dma/fsl-edma-common.c | 14 +++++++++
 drivers/dma/fsl-edma-common.h | 11 ++++----
 drivers/dma/mcf-edma-main.c   | 66 +++++++++++++++++++++++++------------------
 3 files changed, 57 insertions(+), 34 deletions(-)
---
base-commit: d13f3ac64efb868d09cb2726b1e84929afe90235
change-id: 20251123-dma-coldfire-5f36aee143b3

Best regards,
-- 
Jean-Michel Hautbois <jeanmichel.hautbois@yoseli.org>


^ permalink raw reply	[flat|nested] 20+ messages in thread

end of thread, other threads:[~2025-11-25 19:24 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-11-24 12:50 [PATCH 0/7] dma: fsl/mcf-edma: Bug fixes and enhancements for ColdFire support Jean-Michel Hautbois
2025-11-24 12:50 ` [PATCH 1/7] dma: fsl-edma: Add write barrier after TCD descriptor fill Jean-Michel Hautbois
2025-11-24 15:57   ` Frank Li
2025-11-25  8:18     ` Jean-Michel Hautbois
2025-11-24 12:50 ` [PATCH 2/7] dma: fsl-edma: Add FSL_EDMA_DRV_MCF flag for ColdFire eDMA Jean-Michel Hautbois
2025-11-24 16:03   ` Frank Li
2025-11-24 12:50 ` [PATCH 3/7] dma: mcf-edma: Add per-channel IRQ naming for debugging Jean-Michel Hautbois
2025-11-24 13:05   ` Geert Uytterhoeven
2025-11-25  8:35   ` kernel test robot
2025-11-25 12:06   ` kernel test robot
2025-11-24 12:50 ` [PATCH 4/7] dma: mcf-edma: Fix interrupt handler for 64 DMA channels Jean-Michel Hautbois
2025-11-24 16:09   ` Frank Li
2025-11-25  8:02     ` Jean-Michel Hautbois
2025-11-25 16:14       ` Frank Li
2025-11-24 12:50 ` [PATCH 5/7] dma: fsl-edma: Move error handler out of header file Jean-Michel Hautbois
2025-11-24 16:10   ` Frank Li
2025-11-24 12:50 ` [PATCH 6/7] dma: mcf-edma: Fix error handler for all 64 DMA channels Jean-Michel Hautbois
2025-11-24 16:16   ` Frank Li
2025-11-24 12:50 ` [PATCH 7/7] dma: fsl-edma: Support source stride for interleaved DMA transfers Jean-Michel Hautbois
2025-11-24 16:29   ` Frank Li

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox