All of lore.kernel.org
 help / color / mirror / Atom feed
* kernel-panic on pxa2xx_spi.c on pxa9xx cpu with dma enable
@ 2009-04-05  3:32 Mok Keith
       [not found] ` <69f617130904042032o382f5084v4fe21884e2356c77-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
  0 siblings, 1 reply; 5+ messages in thread
From: Mok Keith @ 2009-04-05  3:32 UTC (permalink / raw)
  To: linux-arm-kernel-xIg/pKzrS19vn6HldHNs0ANdhmdF6hFW,
	spi-devel-general-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

Hi all,

I have encounter a kernel panic, when I saw "pxa2xx-spi pxa2xx-spi.1:
dma_transfer: fifo overrun".
After dig into the code from the kernel panic log, I found that
cur_chip equals to NULL in pump_transfers function.

It is very easy to duplicated on my system running pxa9xx cpu with dma
enable (the spi working fine with pure I/O).
However if some printk is added for debugging, the problem gone.

So I cannot find out why the tasklet_schedule for pump_transfers is
called after giveback function is called without the cur_chip is set
first.

Anyone has any idea ?

Keith

------------------------------------------------------------------------------

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2009-04-11  2:23 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-05  3:32 kernel-panic on pxa2xx_spi.c on pxa9xx cpu with dma enable Mok Keith
     [not found] ` <69f617130904042032o382f5084v4fe21884e2356c77-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2009-04-05 17:07   ` Ned Forrester
     [not found]     ` <49D8E537.1010307-/d+BM93fTQY@public.gmane.org>
2009-04-06  2:22       ` Mok Keith
     [not found]         ` <69f617130904051922w72810b52v576546c10c069941-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2009-04-08 15:19           ` Ned Forrester
2009-04-11  2:23             ` [spi-devel-general] " Mok Keith

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.