Re: Changing IOMMU-API for generic DMA-mapping supported by the hardware

2011-11-24 Thread 'Joerg Roedel'
On Thu, Nov 24, 2011 at 01:52:33PM +0100, Marek Szyprowski wrote: > In my DMA-mapping IOMMU integration I've used a dma_iommu_mapping structure, > which contains a pointer to iommu domain, a bitmap and a lock. Maybe we > should consider extending iommu domain with allocation bitmap (or other > st

RE: Changing IOMMU-API for generic DMA-mapping supported by the hardware

2011-11-24 Thread Marek Szyprowski
Hello, On Friday, November 11, 2011 2:17 PM Joerg Roedel wrote: > Okay, seperate thread for this one. If possible, I would like to be CCed: in the next mails in this topic. For a last few months I've been working on DMA-mapping changes on ARM architecture in order to add support for IOMMU-awar

Changing IOMMU-API for generic DMA-mapping supported by the hardware

2011-11-11 Thread Joerg Roedel
Okay, seperate thread for this one. On Thu, Nov 10, 2011 at 07:28:39PM +, David Woodhouse wrote: > > The plan is to have a single DMA-API implementation for all IOMMU > > drivers (X86 and ARM) which just uses the IOMMU-API. But to make this > > performing reasonalbly well a few changes to the