[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <200608300926.32532.david-b@pacbell.net>
Date: Wed, 30 Aug 2006 09:26:31 -0700
From: David Brownell <david-b@...bell.net>
To: stephen@...eetfiresound.com
Cc: Manish Jaggi <manish.jaggi@...il.com>,
spi-devel-general@...ts.sourceforge.net,
Luke Yang <luke.adi@...il.com>, linux-kernel@...r.kernel.org
Subject: Re: [spi-devel-general] [Patch] Add spi full duplex mode transfer support
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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists