Re: dma_declare_coherent_memory and SuperH

From: Christoph Hellwig
Date: Mon Jun 28 2021 - 12:33:17 EST


On Mon, Jun 28, 2021 at 09:29:59AM -0500, Rob Landley wrote:
> > 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.
>
> Q) If I haven't got regression test hardware to make sure I properly converted
> each of these entire boards to device tree, Is there anything else I can do to
> help you remove this function from common code, such as inlining some portion of
> this function?
>
> A) You can convert the board to device tree.
>
> Which part of this exchange have I misunderstood?

The part that there is no easy way out without the device tree
conversion.