aboutsummaryrefslogtreecommitdiff
path: root/drivers/scsi/scsi_sysctl.c
diff options
context:
space:
mode:
authorSreekanth Reddy2021-12-20 19:41:50 +0530
committerMartin K. Petersen2021-12-23 00:04:24 -0500
commitb64845a7d4039ab9667bafff9d7bb59365f17c0f (patch)
tree276dfd2b72aaf8fdef0da7c335895a2692917d5d /drivers/scsi/scsi_sysctl.c
parentc0b00a931e5e5fc143ed5563389ef72e40de9814 (diff)
scsi: mpi3mr: Detect async reset that occurred in firmware
Detect asynchronous reset that occurred in the firmware by polling for reset history bit of IOC status register is set and if that bit is set, then the driver waits for the controller to become ready and then re-initializes the controller. Also reduce the time driver is waiting for the controller to acknowledge the reset action after issuing a specific reset action to the controller. The wait time is reduced from 510 seconds to 30 seconds. If the controller didn't acknowledge a specific reset action within the time interval then the driver marks the controller as unrecoverable instead of retrying two more times prior to giving up. Link: https://lore.kernel.org/r/20211220141159.16117-17-sreekanth.reddy@broadcom.com Signed-off-by: Sreekanth Reddy <sreekanth.reddy@broadcom.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/scsi_sysctl.c')
0 files changed, 0 insertions, 0 deletions