Re: [BUG, bisected] atmel_spi: hard lockups in transfer

From: Szilveszter Ordog
Date: Sun Apr 06 2008 - 20:24:20 EST


> For some weeks now there have been reports flying across the main AVR32
> support forum, avrfreaks [1], that atmel_spi now hard-hangs on most
> transfers. The behaviour is not apparent in .23 and is in .24+. One
> tester was good enough to bisect the problem and turned up
>
> 154443c72f47169ebcb3a7befbff0e934c49bff3
> atmel_spi: chain DMA transfers
>
> as the culprit.

Thanks for reporting this. Unfortunately it is difficult to test for
me, since I do not have the hardware and there are no error messages.
However, if you add the following line

#define DEBUG

to the top of drivers/spi/atmel_spi.c (before the #include directives)
and recompile the kernel, then you would get lots of debug output
which could help us pinpoint the problem.

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