Re: [meta-freescale] [PATCH] spi-imx -> make DMA optional through DT

2016-03-31 Thread Fabio Estevam
On Thu, Mar 31, 2016 at 2:30 PM, Hans Christian Lønstad wrote: > Completely agreed, just wandered if you could point me in some direction ,-> I am not familiar with GPU code. Maybe you could start a new thread explaining in details this GPU issue. --

Re: [meta-freescale] [PATCH] spi-imx -> make DMA optional through DT

2016-03-31 Thread Hans Christian Lønstad
> On 31. mar. 2016, at 19.26, Fabio Estevam wrote: > > On Thu, Mar 31, 2016 at 2:22 PM, Hans Christian Lønstad > wrote: > >> Implying the bug is in the SPI class driver and fixed in 4.6? >> It appears to be changes in the spi-imx as well, so back

Re: [meta-freescale] [PATCH] spi-imx -> make DMA optional through DT

2016-03-31 Thread Fabio Estevam
On Thu, Mar 31, 2016 at 2:22 PM, Hans Christian Lønstad wrote: > Implying the bug is in the SPI class driver and fixed in 4.6? > It appears to be changes in the spi-imx as well, so back porting might need > to include this. This issue is not i.MX6 related. There are

Re: [meta-freescale] [PATCH] spi-imx -> make DMA optional through DT

2016-03-31 Thread Hans Christian Lønstad
> On 31. mar. 2016, at 00.42, Fabio Estevam wrote: > > Hi Hans, > > On Wed, Mar 30, 2016 at 6:02 PM, Fabio Estevam wrote: > >> Looks like this same issue has been reported before: >> https://freescale.jiveon.com/thread/375328 > > Just tested the

Re: [meta-freescale] [PATCH] spi-imx -> make DMA optional through DT

2016-03-30 Thread Fabio Estevam
Hi Hans, On Wed, Mar 30, 2016 at 6:02 PM, Fabio Estevam wrote: > Looks like this same issue has been reported before: > https://freescale.jiveon.com/thread/375328 Just tested the steps provided in the community thread on a 4.6-rc1 kernel and it worked well here. I do see

Re: [meta-freescale] [PATCH] spi-imx -> make DMA optional through DT

2016-03-30 Thread Fabio Estevam
On Wed, Mar 30, 2016 at 10:58 AM, Fabio Estevam wrote: > Thanks for reporting the issue. > > It would be better if we could fix the DMA issue instead of disabling it. > > If you are able to reproduce this with a mainline kernel, it would be > nice to report this bug into the

Re: [meta-freescale] [PATCH] spi-imx -> make DMA optional through DT

2016-03-30 Thread Fabio Estevam
Hi Hans, On Wed, Mar 30, 2016 at 3:14 AM, Hans Christian Lønstad wrote: > The issue surfaced after DT introduced the DMA functionality (imx6qdl.dtsi). > This applies to mainline kernels (checked 4.1 and up) as well. > It is my understanding that SPI DMA is performed using

Re: [meta-freescale] [PATCH] spi-imx -> make DMA optional through DT

2016-03-30 Thread Hans Christian Lønstad
Thank you for your quick response. Please find my comments inserted below. BTW: will the current vivante cpu user space code run on the 4.1.15_ga kernel? Regards Hans Chr -- Hans Christian Lønstad, CTO Data Respons AS Sandviksveien 26 P.O. Box

[meta-freescale] [PATCH] spi-imx -> make DMA optional through DT

2016-03-29 Thread Hans Christian Lønstad
This patch applies to kernel 4.1.15_ga and fixes a regression for UBIFS on SPI NOR introduced by assigning DMA channels in DT When UBIFS uses SPI NOR devices, the IO buffer allocation using vmalloc creates problems when the SPI controller is DMA based (as it is for some ARM SoC's). Introduce a