[RFC] cf rework to fix locking issues

Dan Williams dcbw at redhat.com
Thu Feb 28 14:36:18 EST 2008


On Thu, 2008-02-28 at 14:51 +0100, Holger Schurig wrote:
> > A while ago I reworked the CF flow to match that of the SDIO
> > and USB drivers with respect to interrupt handling and
> > callbacks into the core. This was in response to locking
> > issues reported by Holger.  I got as far as this;
> > unfortunately the card seems to stall during large transfers
> > with this patch, but I'm not enough of a CF person to know how
> > to debug it.
> 
> Ahh, so this trades an potential error against a real one?

Yeah; pretty much.  I think the new approach is the right one code-wise,
and I feel like the transfer hang is just a bug in the CF logic in my
patch (not acking some status or interrupt or something?).

> What do you mean with "large"?   A flood ping ("ping -f"), or 
> some 2 MB large file via SCP ?

A 50MB file over SCP.

Dan





More information about the libertas-dev mailing list