Re: [PATCH v2 1/9] iommu/io-pgtable-arm: Allow appropriate DMA API use

2015-07-31 Thread Will Deacon
Hi Robin, On Wed, Jul 29, 2015 at 07:46:04PM +0100, Robin Murphy wrote: > Currently, users of the LPAE page table code are (ab)using dma_map_page() > as a means to flush page table updates for non-coherent IOMMUs. Since > from the CPU's point of view, creating IOMMU page tables *is* passing > DMA

[PATCH v2 1/9] iommu/io-pgtable-arm: Allow appropriate DMA API use

2015-07-29 Thread Robin Murphy
Currently, users of the LPAE page table code are (ab)using dma_map_page() as a means to flush page table updates for non-coherent IOMMUs. Since from the CPU's point of view, creating IOMMU page tables *is* passing DMA buffers to a device (the IOMMU's page table walker), there's little reason not to