libertas-spi memory corruption

Vasily Khoruzhick anarsoul at gmail.com
Mon Jul 11 09:19:43 EDT 2011


On Friday 08 July 2011 14:34:22 Vasily Khoruzhick wrote:
> Hi there,
> 
> I'm observing memory corruption with libertas (libertas-spi) on my device
> (Zipit Z2 with pxa270) with 2.6.39 kernel (and on 3.0.0rcs aswell)
> 
> Looks like corruption happens in spu_init(), in second spu_set_bus_mode(),
> after card->use_dummy_writes = 1;
> 
> I see nothing suspicious in spu_set_bus_mode(), so it might be pxa2xx_spi
> issue, still investigating it.
> 
> Any ideas? Did anyone observe memory corruption with libertas on spi
> interface? Or on pxa27x?

Found bug in pxa2xx_spi driver, with fix applied I see no more memory 
corruption.

Regards
Vasily



More information about the libertas-dev mailing list