From: Vijaya Mohan Guvva Date: Mon, 13 May 2013 09:33:26 +0000 (-0700) Subject: [SCSI] bfa: kdump fix on 815 and 825 adapters X-Git-Tag: v3.11-rc1~88^2~29 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c679b599afa5dd38d20e058aa68bc94c1c1416a1;p=pandora-kernel.git [SCSI] bfa: kdump fix on 815 and 825 adapters Root cause: When kernel crashes, On brocade 815/825 adapters, bfa IOC state machine and FW doesn't get a notification and hence are not cleanly shutdown. So registers holding driver/IOC state information are not reset back to valid disabled/parking values. This causes subsequent driver initialization to fail during kdump kernel boot. Fix description: during the initialization of first PCI function, reset corresponding register when unclean shutown is detect by reading chip registers. This will make sure that ioc/fw gets clean re-initialization. Signed-off-by: Vijaya Mohan Guvva Signed-off-by: James Bottomley --- Reading git-diff-tree failed