Re: DMA API issues

From: James Bottomley
Date: Fri Jun 18 2004 - 20:18:14 EST


On Fri, 2004-06-18 at 14:44, Ian Molton wrote:
> > For example, if usbaudio uses usb_buffer_alloc to stream data,
> > that eliminates dma bouncing. That's dma_alloc_coherent at
> > its core ... it should allocate from that 32K region.
>
> Agreed.

There are complications to this: not all platforms can access PCI memory
directly. That's why ioremap and memcpy_toio and friends exist. What
should happen on these platforms?

James


-
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/