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
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
> +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
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/
>