Re: [PATCH] sky2: Fix WARNING: at lib/dma-debug.c:902 check_sync
From: David Miller <davem@davemloft.net>
Date: 2010-02-03 01:26:58
Also in:
lkml
From: David Miller <davem@davemloft.net>
Date: 2010-02-03 01:26:58
Also in:
lkml
From: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> Date: Wed, 3 Feb 2010 10:18:39 +0900
Can we safely assume that the arch implementations already round up/down to the safe boundary internally in this API (they should already)?
I can only speak for sparc64 and x86 directly and those are fine. Any such improper implementations would fail with many common ethernet drivers already.
I don't like two DMA docs. I like to make pci_dma_* API obsolete. We have the generic DMA API with generic devices so we are always able to use the API (as you did with sbus_map_*). The majority arch implementations safely call the bus specific DMA functions via the generic DMA API. So there are not many things to do. We can just convert pci_dma_* to dma_* API slowly. Opinions?
I have no problem with this.