move the arm arch_dma_alloc implementation to common code
From: hch@lst.de (Christoph Hellwig)
Date: 2018-11-09 07:52:42
Also in:
linux-iommu, lkml
From: hch@lst.de (Christoph Hellwig)
Date: 2018-11-09 07:52:42
Also in:
linux-iommu, lkml
Can I get a quick review from the arm64 folks? I think it should be fine there as it basically is a code move, but an additional pair or two of eyes always helps to weed out bugs. On Mon, Nov 05, 2018 at 01:19:22PM +0100, Christoph Hellwig wrote:
Hi all, this series moves the existing arm64 implementation of arch_dma_alloc and arch_dma_free to common code given that it is not arm64-specific, and then also uses it for csky. Given how many architectures remap memory for the DMA coherent implementation it should be usable for many more, and the new cache flushing hook and the generic atomic pool are also enablers for implementing the IOMMU API dma ops in common code in a follow on series. _______________________________________________ iommu mailing list iommu at lists.linux-foundation.org https://lists.linuxfoundation.org/mailman/listinfo/iommu
---end quoted text---