Skip to content

Commit a3d27df

Browse files
Ranjan Kumarmartinkpetersen
authored andcommitted
scsi: mpi3mr: Handle soft reset in progress fault code (0xF002)
The driver is exiting from the fault watchdog thread if it sees the 0xF002 (Soft reset in progress) fault code. If the driver initiates the soft reset, then the driver restarts the watchdog at the end of the soft reset completion. However, if the soft reset is initiated by the firmware asynchronously, then the driver will never restart the watchdog and never re-initialize the controller after the asynchronous soft reset completion. Signed-off-by: Ranjan Kumar <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Martin K. Petersen <[email protected]>
1 parent 86eb94b commit a3d27df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/scsi/mpi3mr/mpi3mr_fw.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2526,7 +2526,7 @@ static void mpi3mr_watchdog_work(struct work_struct *work)
25262526
mrioc->unrecoverable = 1;
25272527
goto schedule_work;
25282528
case MPI3_SYSIF_FAULT_CODE_SOFT_RESET_IN_PROGRESS:
2529-
return;
2529+
goto schedule_work;
25302530
case MPI3_SYSIF_FAULT_CODE_CI_ACTIVATION_RESET:
25312531
reset_reason = MPI3MR_RESET_FROM_CIACTIV_FAULT;
25322532
break;

0 commit comments

Comments
 (0)