• James Bottomley's avatar
    [SCSI] aic94xx: fix TMF ascb handling to prevent sequencer panic · e2396f1e
    James Bottomley authored
    This is a particularly nasty bug.  The problem is that if any internal
    ascb times out, currently we free it even though it's pending at the
    sequencer.  This results in the sequencer getting terminally confused
    and the error message:
    
    BUG:sequencer:dl:no ascb
    
    Being returned when it comes back.  The way to fix this is to manage
    freeing the ascb from the tasklet completion routine, so that we only
    free it when the sequencer actually returns it.  The code is also
    altered to use on stack completions and transfer variables.
    Signed-off-by: default avatarJames Bottomley <James.Bottomley@HansenPartnership.com>
    e2396f1e
aic94xx_hwi.h 10.5 KB