From: John Gregor Date: Wed, 7 May 2008 18:01:10 +0000 (-0700) Subject: IB/ipath: Fix SDMA error recovery in absence of link status change X-Git-Tag: v2.6.26-rc2~31^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ab69b3cf1219e0d07bb4ea373f36b1de38af531c;p=pandora-kernel.git IB/ipath: Fix SDMA error recovery in absence of link status change What's fixed: in ipath_cancel_sends() We need to unconditionally set ABORTING. So, swap the tests so the set_bit() isn't shadowed by the &&. If we've disarmed the piobufs, then we need to unconditionally set DISARMED. So, move it out from the overly protective if at the bottom. in sdma_abort_task() Abort_task was written knowing that the SDMA engine would always be reset (and restarted) on error. A recent change broke that fundamental assumption by taking the restart portion and making it conditional on a link status change. But, SDMA can go boom without a link status change in some conditions. Signed-off-by: John Gregor Signed-off-by: Roland Dreier --- Reading git-diff-tree failed