From: Anton Blanchard Date: Mon, 1 Aug 2011 09:43:45 +0000 (+1000) Subject: [SCSI] ipr: Always initiate hard reset in kdump kernel X-Git-Tag: v3.2-rc1~125^2~178 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5d7c20b7fa5c6ca19e871b4050e321c99d32bd43;p=pandora-kernel.git [SCSI] ipr: Always initiate hard reset in kdump kernel During kdump testing I noticed timeouts when initialising each IPR adapter. While the driver has logic to detect an adapter in an indeterminate state, it wasn't triggering and each adapter went through a 5 minute timeout before finally going operational. Some analysis showed the needs_hard_reset flag wasn't getting set. We can check the reset_devices kernel parameter which is set by kdump and force a full reset. This fixes the problem. Signed-off-by: Anton Blanchard Cc: Acked-by: Brian King Signed-off-by: James Bottomley --- Reading git-diff-tree failed