Re: [PATCH 6/6] atmel_serial: Add DMA support

From: Alan Cox
Date: Wed Jan 23 2008 - 11:46:19 EST


On Wed, 23 Jan 2008 16:14:25 +0100
Haavard Skinnemoen <hskinnemoen@xxxxxxxxx> wrote:

> On Wed, 23 Jan 2008 15:04:36 +0000
> Alan Cox <alan@xxxxxxxxxxxxxxxxxxx> wrote:
>
> > > No, I think GFP_DMA is for legacy ISA DMA and other DMA controllers
> > > with addressing limitations. The PDC is capable of accessing the full
> > > 32-bit physical address space on both AT91 and AVR32, so no special DMA
> > > flags are needed.
> >
> > For kernel coherent DMA buffers use the dma_ API to allocate the memory.
>
> Yes, but since we're managing DMA coherency using the streaming DMA
> API, we don't really need coherent buffers, right?

Right.

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