Re: [PATCH v7 0/5] prerequisites for device reserved local mem rework
From: Christoph Hellwig
Date: Fri May 31 2019 - 12:47:37 EST
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)