Re: [PATCH 2/2] arch: m68k: Add DMA mapping operations for Coldfire M5441x

From: Christoph Hellwig
Date: Tue Jan 28 2025 - 01:10:17 EST


On Tue, Jan 21, 2025 at 11:54:14AM +0100, Jean-Michel Hautbois wrote:
> Introduce `dma_ops` for the Coldfire M5441x platform, enabling both
> coherent and streaming DMA operations. This addition should fill the gap
> for DMA support integrates with the existing kernel DMA framework.

Arch dma code should not implement DMA OPS, but use the generic
dma-direct code with the right helpes for handling coherency. This
variant looks like it should be using the DMA_COHERENT_POOL allocator
for dma coherent memory.