diff options
author | Sarang Radke <sarang.radke@qlogic.com> | 2012-01-11 11:44:18 +0100 |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2012-01-16 09:33:24 +0100 |
commit | 787649993230eb1d6fc326f13be285a840092538 (patch) | |
tree | e3d6b283cac4d6f4fc99e067fdef4e13523e6785 /drivers/scsi/qla4xxx/ql4_nx.c | |
parent | [SCSI] qla4xxx: Added error logging for firmware abort (diff) | |
download | linux-787649993230eb1d6fc326f13be285a840092538.tar.xz linux-787649993230eb1d6fc326f13be285a840092538.zip |
[SCSI] qla4xxx: Clear the RISC interrupt bit during FW init
This patch fix kernel panic during kdump.
Signed-off-by: Sarang Radke <sarang.radke@qlogic.com>
Signed-off-by: Vikas Chaudhary <vikas.chaudhary@qlogic.com>
Reviewed-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/scsi/qla4xxx/ql4_nx.c')
-rw-r--r-- | drivers/scsi/qla4xxx/ql4_nx.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/scsi/qla4xxx/ql4_nx.c b/drivers/scsi/qla4xxx/ql4_nx.c index 8d6bc1b2ff17..78f1111158d7 100644 --- a/drivers/scsi/qla4xxx/ql4_nx.c +++ b/drivers/scsi/qla4xxx/ql4_nx.c @@ -1875,6 +1875,11 @@ exit: int qla4_8xxx_load_risc(struct scsi_qla_host *ha) { int retval; + + /* clear the interrupt */ + writel(0, &ha->qla4_8xxx_reg->host_int); + readl(&ha->qla4_8xxx_reg->host_int); + retval = qla4_8xxx_device_state_handler(ha); if (retval == QLA_SUCCESS && !test_bit(AF_INIT_DONE, &ha->flags)) |