Re: WARNING: at drivers/dma/dmaengine.c:352dma_issue_pending_all+0x77/0x15d()

From: Dan Williams
Date: Mon Jan 19 2009 - 17:19:05 EST


On Mon, 2009-01-19 at 15:04 -0700, Dan Williams wrote:
> On Mon, 2009-01-19 at 14:31 -0700, Ingo Molnar wrote:
> > FYI, i'm getting this on a testbox, on v2.6.29-rc2:
>
> Thanks for the report. I assume this is with CONFIG_DMA_ENGINE=n?
> dma_issue_pending_all should be a nop in that case. I'll apply the
> following with your confirmation.
>

Spoke too soon, the call to dma_issue_pending_all is protected by ifdef
CONFIG_NET_DMA. Reading that counter without synchronizing with
dma_list_mutex is a problem. I think I'll just remove the warnings for
now.

--
Dan

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/