[PATCH dma-mapping tree] arm64: default to the direct mapping in get_arch_dma_ops
Christoph Hellwig
hch at lst.de
Wed Dec 19 17:00:34 UTC 2018
On Wed, Dec 19, 2018 at 04:59:03PM +0000, Robin Murphy wrote:
> On 14/12/2018 15:02, Christoph Hellwig wrote:
>> Otherwise the direct mapping won't work at all given that a NULL
>> dev->dma_ops causes a fallback. Note that we already explicitly set
>> dev->dma_ops to dma_dummy_ops for dma-incapable devices, so this
>> fallback should not be needed anyway.
>
> Sorry, I'd somehow completely missed that you'd sent a proper patch for
> this - indeed it looks like the right change to make.
>
> Reviewed-by: Robin Murphy <robin.murphy at arm.com>
Thanks. I've added this given that I hadn't pushed out the tree yet.
More information about the iommu
mailing list