Re: [PATCHv6 3/7] ARM: dma-mapping: implement dma sg methods on top of any generic dma ops

2012-02-14 Thread Konrad Rzeszutek Wilk
On Fri, Feb 10, 2012 at 07:58:40PM +0100, Marek Szyprowski wrote: > This patch converts all dma_sg methods to be generic (independent of the > current DMA mapping implementation for ARM architecture). All dma sg > operations are now implemented on top of respective > dma_map_page/dma_sync_single_fo

Re: [PATCHv6 2/7] ARM: dma-mapping: use asm-generic/dma-mapping-common.h

2012-02-14 Thread Konrad Rzeszutek Wilk
On Fri, Feb 10, 2012 at 07:58:39PM +0100, Marek Szyprowski wrote: > This patch modifies dma-mapping implementation on ARM architecture to > use common dma_map_ops structure and asm-generic/dma-mapping-common.h > helpers. The patch looks good, but I am not sure about the dma_debug API calls? I am

Re: [PATCHv6 7/7] ARM: dma-mapping: add support for IOMMU mapper

2012-02-14 Thread Konrad Rzeszutek Wilk
> +static void __dma_clear_buffer(struct page *page, size_t size) > +{ > + void *ptr; > + /* > + * Ensure that the allocated pages are zeroed, and that any data > + * lurking in the kernel direct-mapped region is invalidated. > + */ > + ptr = page_address(page); Should y

Re: Using OMAP3 ISP live display and snapshot sample applications

2012-02-14 Thread Joerg Roedel
On Mon, Feb 13, 2012 at 09:28:30AM +0800, James wrote: > >> @@ -28,6 +28,7 @@ obj-$(CONFIG_XEN)           += xen/ > >> > >>  # regulators early, since some subsystems rely on them to initialize > >>  obj-$(CONFIG_REGULATOR)              += regulator/ > >> +obj-$(CONFIG_IOMMU_SUPPORT)  += iommu/ >