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

From: Christoph Hellwig
Date: Tue Jan 28 2025 - 01:48:18 EST


On Tue, Jan 28, 2025 at 07:43:23AM +0100, Jean-Michel Hautbois wrote:
> > It really should not be hard. The dynamic mappings already work fine
> > as m68k is using the generic code. So the only thing you want is
> > to dip into the glonal pool for coherent allocations. For that you
> > need to select the DMA_GLOBAL_POOL config option and fill the pool
> > with dma_init_global_coherent().
> >
>
> Isn't it done in patch 1/2 ? Or did I miss something ?

The point is that this is all you need. No need for new dma ops.