Messages in this thread | | | Date | Wed, 4 Aug 2010 23:18:16 +0900 | Subject | Re: 2.6.35-stable/ppc64/p7: Badness at lib/dma-debug.c:902, Call Trace & Instruction Dump during boot | From | FUJITA Tomonori <> |
| |
On Wed, 4 Aug 2010 15:16:34 +0200 "Roedel, Joerg" <Joerg.Roedel@amd.com> wrote:
> On Mon, Aug 02, 2010 at 07:55:03AM -0400, FUJITA Tomonori wrote: > > I guess that this driver does a partial sync with > > dma_sync_single_for_* API. dma-debug can't handle it properly. It's > > likely that this is a false warning. > > If this turns out to be true it is not trivial to fix. I prepare a patch > to test for you.
I've not looked at the details of this driver, but there are drivers that do such. So dma-debug needs to be fixed anyway; you can't assume that a DMA address that dma_map_single returned is passed to dma_sync_single_for API.
| |