Re: [PATCH v2] remoteproc: copy parent dma_pfn_offset for vdev

From: Christoph Hellwig
Date: Fri Jul 19 2019 - 02:33:01 EST


On Mon, Jul 08, 2019 at 11:45:46AM -0700, Christoph Hellwig wrote:
> > But that's breaking legacy as all platforms will have to add a virtio device node in
> > their DT file...
> >
> > Is it aligned with your view ?
>
> Yes, that is how I'd assume it works. But given that until recently
> you did now have these subdevices for dma coherent purposes we can't
> really break anything older than that, so I might still be missing
> something.

Any chance we could expedite this? remoteproc is the only driver
inheriting dma ops to subdevices, and the only one using
dma_declare_coherent_memory. I'd really like to clean this mess up
rather sooner than later.