From: Jean-Michel Hautbois via B4 Relay <devnull+jeanmichel.hautbois.yoseli.org@kernel.org>
To: Frank Li <Frank.Li@nxp.com>, Vinod Koul <vkoul@kernel.org>,
Angelo Dureghello <angelo@sysam.it>
Cc: Greg Ungerer <gerg@linux-m68k.org>,
imx@lists.linux.dev, dmaengine@vger.kernel.org,
linux-m68k@lists.linux-m68k.org, linux-kernel@vger.kernel.org,
Jean-Michel Hautbois <jeanmichel.hautbois@yoseli.org>
Subject: [PATCH v2 0/5] dma: fsl/mcf-edma: Bug fixes and enhancements for ColdFire support
Date: Wed, 26 Nov 2025 09:36:01 +0100 [thread overview]
Message-ID: <20251126-dma-coldfire-v2-0-5b1e4544d609@yoseli.org> (raw)
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.
Signed-off-by: Jean-Michel Hautbois <jeanmichel.hautbois@yoseli.org>
---
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/20251124-dma-coldfire-v1-0-dc8f93185464@yoseli.org
---
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,
--
Jean-Michel Hautbois <jeanmichel.hautbois@yoseli.org>
next reply other threads:[~2025-11-26 8:36 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-11-26 8:36 Jean-Michel Hautbois via B4 Relay [this message]
2025-11-26 8:36 ` [PATCH v2 1/5] dma: fsl-edma: Add FSL_EDMA_DRV_MCF flag for ColdFire eDMA Jean-Michel Hautbois via B4 Relay
2025-11-26 8:36 ` [PATCH v2 2/5] dma: mcf-edma: Add per-channel IRQ naming for debugging Jean-Michel Hautbois via B4 Relay
2025-11-26 16:12 ` Frank Li
2025-12-16 15:26 ` Vinod Koul
2025-12-16 15:38 ` Frank Li
2025-12-17 6:34 ` Jean-Michel Hautbois
2025-12-17 16:21 ` Frank Li
2025-11-26 8:36 ` [PATCH v2 3/5] dma: mcf-edma: Fix interrupt handler for 64 DMA channels Jean-Michel Hautbois via B4 Relay
2025-11-26 8:36 ` [PATCH v2 4/5] dma: fsl-edma: Move error handler out of header file Jean-Michel Hautbois via B4 Relay
2025-11-26 8:36 ` [PATCH v2 5/5] dma: mcf-edma: Fix error handler for all 64 DMA channels Jean-Michel Hautbois via B4 Relay
2025-11-26 16:14 ` Frank Li
2025-12-16 15:27 ` [PATCH v2 0/5] dma: fsl/mcf-edma: Bug fixes and enhancements for ColdFire support Vinod Koul
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20251126-dma-coldfire-v2-0-5b1e4544d609@yoseli.org \
--to=devnull+jeanmichel.hautbois.yoseli.org@kernel.org \
--cc=Frank.Li@nxp.com \
--cc=angelo@sysam.it \
--cc=dmaengine@vger.kernel.org \
--cc=gerg@linux-m68k.org \
--cc=imx@lists.linux.dev \
--cc=jeanmichel.hautbois@yoseli.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-m68k@lists.linux-m68k.org \
--cc=vkoul@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®