Re: [PATCH] iommu/arm-smmu: change pud/pmd entry fill sequence

2014-01-14 Thread Yifan Zhang
Hi Will, It seems this patch is still not merged yet, any concerns about it ? BR, Yifan On Mon, Jan 6, 2014 at 10:28 PM, Will Deacon will.dea...@arm.com wrote: On Fri, Jan 03, 2014 at 12:01:26PM +, Yifan Zhang wrote: From: Yifan Zhang zhan...@marvell.com Pgd/pud entry should be

Re: [PATCH] iommu/arm-smmu: change pud/pmd entry fill sequence

2014-01-14 Thread Will Deacon
On Tue, Jan 14, 2014 at 09:02:49AM +, Yifan Zhang wrote: It seems this patch is still not merged yet, any concerns about it ? No, I was planning to send it at -rc1 with a CC stable. Will ___ iommu mailing list iommu@lists.linux-foundation.org

[PATCH v2 0/5] enhance DMA CMA on x86

2014-01-14 Thread Akinobu Mita
This patch set enhances the DMA Contiguous Memory Allocator on x86. Currently the DMA CMA is only supported with pci-nommu dma_map_ops and furthermore it can't be enabled on x86_64. But I would like to allocate big contiguous memory with dma_alloc_coherent() and tell it to the device that

[PATCH v2 1/5] x86: make dma_alloc_coherent() return zeroed memory if CMA is enabled

2014-01-14 Thread Akinobu Mita
Calling dma_alloc_coherent() with __GFP_ZERO must return zeroed memory. But when the contiguous memory allocator (CMA) is enabled on x86 and the memory region is allocated by dma_alloc_from_contiguous(), it doesn't return zeroed memory. Because dma_generic_alloc_coherent() forgot to fill the

[PATCH v2 3/5] intel-iommu: integrate DMA CMA

2014-01-14 Thread Akinobu Mita
This adds support for the DMA Contiguous Memory Allocator for intel-iommu. This change enables dma_alloc_coherent() to allocate big contiguous memory. It is achieved in the same way as nommu_dma_ops currently does, i.e. trying to allocate memory by dma_alloc_from_contiguous() and alloc_pages() is

[PATCH v2 4/5] memblock: introduce memblock_alloc_range()

2014-01-14 Thread Akinobu Mita
This introduces memblock_alloc_range() which allocates memblock from the specified range of physical address. I would like to use this function to specify the location of CMA. Cc: Marek Szyprowski m.szyprow...@samsung.com Cc: Konrad Rzeszutek Wilk konrad.w...@oracle.com Cc: David Woodhouse