From: Brian King Date: Thu, 17 Jun 2010 18:56:00 +0000 (-0500) Subject: [SCSI] ibmvscsi: Fix softlockup on resume X-Git-Tag: v2.6.36-rc1~570^2~156 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0f33ece5bc3d5a9567b65cfbc736e8f206ecfc7b;p=pandora-kernel.git [SCSI] ibmvscsi: Fix softlockup on resume This fixes a softlockup seen on resume. During resume, the CRQ must be reenabled. However, the H_ENABLE_CRQ hcall used to do this may return H_BUSY or H_LONG_BUSY. When this happens, the caller is expected to retry later. This patch changes a simple loop, which was causing the softlockup, to a loop at task level which sleeps between retries rather than simply spinning. Signed-off-by: Brian King Signed-off-by: James Bottomley --- Reading git-diff-tree failed