RE: [PATCH v7 0/5] prerequisites for device reserved local mem rework

From: Laurentiu Tudor
Date: Fri May 31 2019 - 13:09:56 EST


> -----Original Message-----
> From: Christoph Hellwig <hch@xxxxxx>
> Sent: Friday, May 31, 2019 7:43 PM
>
> On Wed, May 29, 2019 at 02:06:12PM +0000, Laurentiu Tudor wrote:
> > Thanks, hope this time everything is fine.
>
> I've applied it to the dma-mapping tree now.
>
> > When you get the time, please let me know your ideas on the next steps.
>
> I think the next step is to move the call to
> dma_alloc_from_dev_coherent from dma_alloc_attrs into the ->alloc
> instances. The only onces that really need it for now are the
> generic and legacy arm dma-direct code, and drivers/iommu/dma-iommu.c
> as well as the ARM DMA API code, as those are the ones use for
> architectures that declare coherent regions. The other iommus are
> not used on OF platforms (at least that's what my analysis said a while
> ago, feel free to double check it)

Thanks. I'll start looking into it starting next week. Keep in touch.

---
Best Regards, Laurentiu