Re: dma_declare_coherent_memory and SuperH
From: Christoph Hellwig
Date: Mon Jun 28 2021 - 09:50:02 EST
On Mon, Jun 28, 2021 at 09:04:19AM -0500, Rob Landley wrote:
> > Well, the replacement is to declare the device memory carveouts in the
> > Device Tree.
>
> Your plan is to eliminate the ability for non-device-tree boards to do DMA?
No. My hope is to kill dma_declarare_coherent, an API for board
support files to declare device-specific regions to be used for
coherent DMA.