summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/qla2xxx/qla_dbg.c
diff options
context:
space:
mode:
authorQuinn Tran <qutran@marvell.com>2019-05-06 13:52:19 -0700
committerMartin K. Petersen <martin.petersen@oracle.com>2019-05-13 20:32:49 -0400
commit5386a4e6c7fecd282d265a24d930a74ba3c5917b (patch)
treeda3994a43f0b4f957e112734fcfbb4b92cbe2025 /drivers/scsi/qla2xxx/qla_dbg.c
parentd4023db71108375e4194e92730ba0d32d7f07813 (diff)
downloadblackbird-op-linux-5386a4e6c7fecd282d265a24d930a74ba3c5917b.tar.gz
blackbird-op-linux-5386a4e6c7fecd282d265a24d930a74ba3c5917b.zip
scsi: qla2xxx: Add cleanup for PCI EEH recovery
During EEH error recovery testing it was discovered that driver's reset() callback partially frees resources used by driver, leaving some stale memory. After reset() is done and when resume() callback in driver uses old data which results into error leaving adapter disabled due to PCIe error. This patch does cleanup for EEH recovery code path and prevents adapter from getting disabled. Signed-off-by: Quinn Tran <qutran@marvell.com> Signed-off-by: Himanshu Madhani <hmadhani@marvell.com> Reviewed-by: Ewan D. Milne <emilne@redhat.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/qla2xxx/qla_dbg.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud