[PATCH] ep93xx: Implement double buffering for M2M DMA channels
From: Rafal Prylowski <hidden>
Date: 2012-03-22 10:17:15
Also in:
lkml
From: Rafal Prylowski <hidden>
Date: 2012-03-22 10:17:15
Also in:
lkml
On 2012-03-21 18:12, H Hartley Sweeten wrote:
Hmm... This isn't working on my ep9307 board... When the system boots I get stormed with messages: dma dma1chan0: unknown interrupt! dma dma1chan0: unknown interrupt! dma dma1chan0: unknown interrupt! dma dma1chan1: unknown interrupt! dma dma1chan1: unknown interrupt! dma dma1chan1: unknown interrupt! dma dma1chan0: unknown interrupt! dma dma1chan0: unknown interrupt! dma dma1chan1: unknown interrupt! Note, I have use_dma set for the ep93xx_spi driver and am using mmc_spi.
Thanks for testing. Unfortunately, I'm unable to test this patch with SPI, because my hardware uses it only for very simple communication (one byte commands, I noticed that DMA is not used in this case, even if enabled). In current mainline I also get these messages: dma dma1chan0: unknown interrupt! dma dma1chan1: got interrupt while active list is empty With my patch applied they happen more often (maybe because NFB interrupt is enabled), but the system is usable. Changing kernel to 3.2.x or using hack proposed by Mika makes the problem is gone.