]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
[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)
commit6270e5932a01d6536dbce27782e8adf2180598d8
treebd5bde920c0a703b5798783357c7675e02ca31c0
parentf94d9964626fd75b22878cc97ffebf287415f64e
[SCSI] ipr: Handle early EEH

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