Re: [PATCH] tmio_mmc_dma: fix PIO fallback on SDHI

2013-08-02 Thread Sergei Shtylyov
On 08/02/2013 03:35 PM, Guennadi Liakhovetski wrote: I'm testing SH-Mobile SDHI driver in DMA mode with a new DMA controller using 'bonnie++' and getting DMA error after which the tmio_mmc_dma.c code falls back to PIO but all commands time out after that. It turned out that the fallback code

Re: [PATCH] tmio_mmc_dma: fix PIO fallback on SDHI

2013-08-02 Thread Guennadi Liakhovetski
Hi Sergei, Thanks for your patch. On Fri, 2 Aug 2013, Sergei Shtylyov wrote: > I'm testing SH-Mobile SDHI driver in DMA mode with a new DMA controller > using > 'bonnie++' and getting DMA error after which the tmio_mmc_dma.c code falls > back > to PIO but all commands time out after that. I

Re: [PATCH] tmio_mmc_dma: fix PIO fallback on SDHI

2013-08-01 Thread Sergei Shtylyov
Hello. On 08/02/2013 01:17 AM, Sergei Shtylyov wrote: I'm testing SH-Mobile SDHI driver in DMA mode with a new DMA controller using 'bonnie++' and getting DMA error after which the tmio_mmc_dma.c code falls back to PIO but all commands time out after that. It turned out that the fallback cod

[PATCH] tmio_mmc_dma: fix PIO fallback on SDHI

2013-08-01 Thread Sergei Shtylyov
I'm testing SH-Mobile SDHI driver in DMA mode with a new DMA controller using 'bonnie++' and getting DMA error after which the tmio_mmc_dma.c code falls back to PIO but all commands time out after that. It turned out that the fallback code calls tmio_mmc_enable_dma() with RX/TX channels already