RE: UBIFS with dma on 4.6 kernel is not working

2016-10-25 Thread Naga Sureshkumar Relli
Sureshkumar Relli ; dw...@infradead.org; computersforpe...@gmail.com; dedeki...@gmail.com; adrian.hun...@intel.com; michal.si...@xilinx.com; Punnaiah Choudary Kalluri ; linux-...@lists.infradead.org; linux-kernel@vger.kernel.org; Boris Brezillon Subject: Re: UBIFS with dma on 4.6 kernel is not

Re: UBIFS with dma on 4.6 kernel is not working

2016-10-24 Thread Richard Weinberger
Christoph, On 21.10.2016 15:15, Christoph Hellwig wrote: > On Fri, Oct 21, 2016 at 03:07:57PM +0200, Richard Weinberger wrote: >> Hmm, thought this is still problematic on VIVT architectures. >> Boris tried to provide a solution for that some time ago: >> http://www.spinics.net/lists/arm-kernel/ms

Re: UBIFS with dma on 4.6 kernel is not working

2016-10-21 Thread Christoph Hellwig
On Fri, Oct 21, 2016 at 03:07:57PM +0200, Richard Weinberger wrote: > Hmm, thought this is still problematic on VIVT architectures. > Boris tried to provide a solution for that some time ago: > http://www.spinics.net/lists/arm-kernel/msg494025.html Things have been working fine for approx 10 years

Re: UBIFS with dma on 4.6 kernel is not working

2016-10-21 Thread Richard Weinberger
Christoph, On 21.10.2016 14:53, Christoph Hellwig wrote: > On Fri, Oct 21, 2016 at 11:29:16AM +0200, Richard Weinberger wrote: >> DMA to vmalloced memory not good, it may work by chance if you transfer >> less than PAGE_SIZE. >> Especially on ARM. > > DMA to vmalloc'ed or vmap memory is perfectly

Re: UBIFS with dma on 4.6 kernel is not working

2016-10-21 Thread Christoph Hellwig
On Fri, Oct 21, 2016 at 11:29:16AM +0200, Richard Weinberger wrote: > DMA to vmalloced memory not good, it may work by chance if you transfer > less than PAGE_SIZE. > Especially on ARM. DMA to vmalloc'ed or vmap memory is perfectly fine, you just have to be very careful. I would suggest to not ex

Re: UBIFS with dma on 4.6 kernel is not working

2016-10-21 Thread Cyrille Pitchen
Hi all, Le 21/10/2016 à 11:29, Richard Weinberger a écrit : > Hi! > > On 21.10.2016 11:21, Naga Sureshkumar Relli wrote: >> Hi, >> >> This is regarding UBIFS on 4.6 kernel. >> We have tested UBIFS on our ZynqMP SOC QSPI Controller, the UBIFS is not >> working with dma on this kernel. >> Controll

Re: UBIFS with dma on 4.6 kernel is not working

2016-10-21 Thread Richard Weinberger
Hi! On 21.10.2016 11:21, Naga Sureshkumar Relli wrote: > Hi, > > This is regarding UBIFS on 4.6 kernel. > We have tested UBIFS on our ZynqMP SOC QSPI Controller, the UBIFS is not > working with dma on this kernel. > Controller driver: > https://github.com/torvalds/linux/commits/master/drivers/s