lkml.org 
[lkml]   [2006]   [Aug]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [spi-devel-general] [Patch] Add spi full duplex mode transfer support
Date
On Wednesday 30 August 2006 8:56 am, Stephen Street wrote:

> My experiance has shown the most stack allocated transfer buffers are
> not 8 byte aligned and thus use PIO mode.

Of course, providing a transfer buffer on the stack is nonportable;
it's not DMA-safe (especially on systems with dma-incoherent caches!),
while transfer buffers are required to be DMA-safe so that controller
buffers can choose to use DMA for _all_ transfers if they want.

- Dave


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

\
 
 \ /
  Last update: 2006-08-30 18:29    [W:0.060 / U:2.284 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site