Hello.
On 08/03/2013 02:33 AM, Sergei Shtylyov wrote:
I'm testing SH-Mobile SDHI driver in DMA mode with a new DMA controller using
The driver for this controller is using drivers/dma/sh/shdma-base.c framework.
'bonnie++' and getting DMA error
And I suspect some bug/race in shdma-base.c. The S/G request that fails
seems to always consist of 32 segments (maximum for shdma-base.c) and it fails
like this:
hpb-dma-engine hpb-dma-engine: No free link descriptor available
which is a message that shdma_add_desc() prints when shdma_get-desc() returns
NULL. When I turn on all dev_dbg() calls (via #define DEBUG) in shdma-base.c.
the error is *gone*...
Signed-off-by: Sergei Shtylyov <sergei.shtylyov@xxxxxxxxxxxxxxxxxx>
Cc: stable@xxxxxxxxxxxxxxx # 3.1+
WBR, Sergei
--
To unsubscribe from this list: send the line "unsubscribe linux-mmc" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html