[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Z5h9ZySKFwHRjg0O@infradead.org>
Date: Mon, 27 Jan 2025 22:47:03 -0800
From: Christoph Hellwig <hch@...radead.org>
To: Jean-Michel Hautbois <jeanmichel.hautbois@...eli.org>
Cc: Christoph Hellwig <hch@...radead.org>,
Geert Uytterhoeven <geert@...ux-m68k.org>,
Greg Ungerer <gerg@...ux-m68k.org>, linux-m68k@...ts.linux-m68k.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH 2/2] arch: m68k: Add DMA mapping operations for Coldfire
M5441x
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.
Powered by blists - more mailing lists