On Thu, Aug 4, 2011 at 5:39 AM, viresh kumar viresh.ku...@st.com wrote:
Is DMA mode working in your case?
Yes, magically :-/
But how? Don't you have any message with more than one transfer in it?
No maybe not, my test cases are for single messages, and on production
systems we mainly use
On 08/04/2011 03:46 PM, Linus Walleij wrote:
No maybe not, my test cases are for single messages, and on production
systems we mainly use IRQ-driven traffic. I need to have these
tests added I believe :-/
If you fix this up it will be much appreciated!
Ya I am fixing this up. I have
Hi Linus,
I am preparing few patches for spi-pl022 for Allocating DMA channels as and
when required.
And i found something strange.
When we have many transfers in a single message, following routines are called
in
specified order:
tasklet_schedule(pump_transfers)
pump_transfers(unsigned long
On Wed, Aug 3, 2011 at 1:32 PM, viresh kumar viresh.ku...@st.com wrote:
tasklet_schedule(pump_transfers)
pump_transfers(unsigned long data)
configure_dma(pl022)
sg_alloc_table(pl022-sgt_rx, pages, GFP_KERNEL);
Here, allocation is requested with GFP_KERNEL flag, from a tasklet.
Which gives