[SCSI] ipr: Handle early EEH
authorBrian King <brking@linux.vnet.ibm.com>
Tue, 21 Jan 2014 18:16:41 +0000 (12:16 -0600)
committerJames Bottomley <JBottomley@Parallels.com>
Wed, 19 Mar 2014 22:04:39 +0000 (15:04 -0700)
If, when the ipr driver loads, the adapter is in an EEH error state,
it will currently oops and not be able to recover, as it attempts
to access memory that has not yet been allocated. We've seen this
occur in some kexec scenarios. The following patch fixes the oops
and also allows the driver to recover from these probe time EEH errors.

[jejb: checkpatch fix]
Signed-off-by: Wen Xiong <wenxiong@linux.vnet.ibm.com>
Signed-off-by: Brian King <brking@linux.vnet.ibm.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/ipr.c
drivers/scsi/ipr.h

Simple merge
Simple merge