From: Jing Huang Date: Wed, 13 Apr 2011 18:45:53 +0000 (-0700) Subject: [SCSI] bfa: kdump fix X-Git-Tag: v3.0-rc1~33^2~39 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=45d7f0cc58183062adea0a1de3d8cba768134138;p=pandora-kernel.git [SCSI] bfa: kdump fix Root cause: When kernel crashes, 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 hang 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: Jing Huang Signed-off-by: James Bottomley --- Reading git-diff-tree failed