Re: [PATCH/RFC] SPI: add DMAUNSAFE analog to David Brownell's core

From: Vitaly Wool
Date: Wed Dec 14 2005 - 14:30:19 EST


Greg KH wrote:

On Wed, Dec 14, 2005 at 08:53:54PM +0300, Vitaly Wool wrote:


Greg KH wrote:



What is the speed of your SPI bus?

And what are your preformance requirements?




The maximum frequency for the SPI bus is 26 MHz, WLAN driver is to work at true 10 Mbit/sec.



Then you should be fine with the copying data and memset stuff, based on
the workload the rest of the kernel does for other busses which have
this same requirement of DMAable buffers.

And I'm sure David will be glad to have you point out any places in his
code where it accidentally takes data off of the stack instead of
allocating it.


Hmm, I recall I've already posted some pieces of code with that stuff.

Vitaly

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