Re: [PATCH] arc: Implement arch-specific dma_map_ops.mmap

2016-11-02 Thread Catalin Marinas
On Wed, Nov 02, 2016 at 03:19:43PM +0300, Alexey Brodkin wrote: > diff --git a/arch/arc/mm/dma.c b/arch/arc/mm/dma.c > index 20afc65e22dc..034ec6a8a764 100644 > --- a/arch/arc/mm/dma.c > +++ b/arch/arc/mm/dma.c > @@ -105,6 +105,31 @@ static void arc_dma_free(struct device *dev, size_t > size,

Re: [PATCH v2] drm/arcpgu: Accommodate adv7511 switch to DRM bridge

2016-11-02 Thread Alexey Brodkin
Hi Daniel, David, On Mon, 2016-10-24 at 18:33 +, Alexey Brodkin wrote: > Hi Daniel, > > > > > -Original Message- > > From: linux-snps-arc [mailto:linux-snps-arc-boun...@lists.infradead.org] On > > Behalf Of Alexey Brodkin > > Sent: 19 октября 2016 г. 12:33 > > To:

[PATCH] arc: Implement arch-specific dma_map_ops.mmap

2016-11-02 Thread Alexey Brodkin
We used to use generic implementation of dma_map_ops.mmap which is dma_common_mmap() but that only worked for simpler cached mappings when vaddr = paddr. If a driver requests uncached DMA buffer kernel maps it to virtual address so that MMU gets involved and page uncached status takes into

Re: [PATCH v3 0/3] dmaengine: DW DMAC: split pdata to hardware properties

2016-11-02 Thread Eugeniy Paltsev
Hi Andy, Could you possibly tell me your ideas about these changes? Thanks. On Fri, 2016-10-28 at 18:59 +0300, Eugeniy Paltsev wrote: > This series is to address a proposal by Andy in these threads: > http://www.spinics.net/lists/dmaengine/msg11506.html >