[PATCH/RFC 0/8] ARM: DMA-mapping framework redesign
From: m.szyprowski@samsung.com (Marek Szyprowski)
Date: 2011-06-24 14:26:30
Also in:
linux-arch, linux-mm
From: m.szyprowski@samsung.com (Marek Szyprowski)
Date: 2011-06-24 14:26:30
Also in:
linux-arch, linux-mm
Hello, On Friday, June 24, 2011 11:18 AM Joerg Roedel wrote:
On Mon, Jun 20, 2011 at 09:50:05AM +0200, Marek Szyprowski wrote:quoted
This patch series is a continuation of my works on implementing generic IOMMU support in DMA mapping framework for ARM architecture. Now I focused on the DMA mapping framework itself. It turned out that adding support for common dma_map_ops structure was not that hard as I initally thought. After some modification most of the code fits really well to the generic dma_map_ops methods.I appreciate your progress on this generic dma_ops implementation. But for now it looks very ARM specific. Do you have plans to extend it to non-ARM iommu-api implementations too?
These works are just a first step to create an environment for real iommu & dma-mapping integration. It is much easier to work on IOMMU integration once the dma-mapping operations can be easily changed for particular devices. dma_map_ops gives such flexibility. It is also a de-facto standard interface for other architectures so it was really desired to work on iommu implementation on top of dma_map_ops. Of course my patches will be ARM-centric, but I hope to isolate ARM-specific from generic parts, which can be easily reused on other platforms. Best regards -- Marek Szyprowski Samsung Poland R&D Center