Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

scsi: qla2xxx: Fix ISP recovery on unload

During unload process, the chip can encounter problem where a FW dump would
be captured. For this case, the full reset sequence will be skip to bring
the chip back to full operational state.

Fixes: e315cd28b9ef ("[SCSI] qla2xxx: Code changes for qla data structure refactoring")
Cc: <stable@vger.kernel.org>
Signed-off-by: Quinn Tran <quinn.tran@cavium.com>
Signed-off-by: Himanshu Madhani <himanshu.madhani@cavium.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>

authored by

Quinn Tran and committed by
Martin K. Petersen
b08abbd9 45235022

+3 -2
+3 -2
drivers/scsi/qla2xxx/qla_os.c
··· 6020 6020 set_bit(ISP_ABORT_NEEDED, &base_vha->dpc_flags); 6021 6021 } 6022 6022 6023 - if (test_and_clear_bit(ISP_ABORT_NEEDED, 6024 - &base_vha->dpc_flags)) { 6023 + if (test_and_clear_bit 6024 + (ISP_ABORT_NEEDED, &base_vha->dpc_flags) && 6025 + !test_bit(UNLOADING, &base_vha->dpc_flags)) { 6025 6026 6026 6027 ql_dbg(ql_dbg_dpc, base_vha, 0x4007, 6027 6028 "ISP abort scheduled.\n");