Re: [PATCH v3 2/2] spi: spi-ti-qspi: Add DMA support for QSPI mmap read

2016-06-07 Thread Vignesh R
On Tuesday 07 June 2016 02:47 PM, Peter Ujfalusi wrote: [...] >> @@ -637,6 +770,33 @@ static int ti_qspi_probe(struct platform_device *pdev) >> if (ret) >> goto free_master; >> >> +dma_cap_zero(mask); >> +dma_cap_set(DMA_MEMCPY, mask); >> + >> +qspi->rx_chan = dma_

Re: [PATCH v3 2/2] spi: spi-ti-qspi: Add DMA support for QSPI mmap read

2016-06-07 Thread kbuild test robot
Hi, [auto build test WARNING on spi/for-next] [also build test WARNING on v4.7-rc2 next-20160606] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Vignesh-R/spi-Add-DMA-support-for-ti-qspi/2016060

Re: [PATCH v3 2/2] spi: spi-ti-qspi: Add DMA support for QSPI mmap read

2016-06-07 Thread Peter Ujfalusi
On 06/07/16 11:18, Vignesh R wrote: > Use mem-to-mem DMA to read from flash when reading in mmap mode. This > gives improved read performance and reduces CPU load. > > With this patch the raw-read throughput is ~16MB/s on DRA74 EVM. And CPU > load is <20%. UBIFS read ~13 MB/s. > > Signed-off-by:

[PATCH v3 2/2] spi: spi-ti-qspi: Add DMA support for QSPI mmap read

2016-06-07 Thread Vignesh R
Use mem-to-mem DMA to read from flash when reading in mmap mode. This gives improved read performance and reduces CPU load. With this patch the raw-read throughput is ~16MB/s on DRA74 EVM. And CPU load is <20%. UBIFS read ~13 MB/s. Signed-off-by: Vignesh R --- v3: Cleanup code based on review c