mpi3mr: soft reset in progress fault code (0xF002) handling
Subsystems (2)
PATCH 1/1 mpi3mr: soft reset in progress fault code (0xF002) handling
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.
--- drivers/scsi/mpi3mr/mpi3mr_fw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/scsi/mpi3mr/mpi3mr_fw.c +1 -1
@@ -2526,7 +2526,7 @@ static void mpi3mr_watchdog_work(struct work_struct *work) mrioc->unrecoverable =1 ; goto schedule_work;case MPI3_SYSIF_FAULT_CODE_SOFT_RESET_IN_PROGRESS : -return ; + goto schedule_work;case MPI3_SYSIF_FAULT_CODE_CI_ACTIVATION_RESET : reset_reason =MPI3MR_RESET_FROM_CIACTIV_FAULT ;break ;
Signature · 1 line
2.31.1
Martin K. Petersen
AppliedQuoted 9 lines · Ranjan Kumar
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.[...]
Applied to 6.3/scsi-fixes, thanks!
[1/1] mpi3mr: soft reset in progress fault code (0xF002) handling
https://git.kernel.org/mkp/scsi/c/a3d27dfdcfc2
Signature · 1 line
Martin K. Petersen Oracle Linux Engineering