diff options
author | Sreekanth Reddy <sreekanth.reddy@broadcom.com> | 2021-12-20 17:11:50 +0300 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2021-12-23 08:04:24 +0300 |
commit | b64845a7d4039ab9667bafff9d7bb59365f17c0f (patch) | |
tree | 276dfd2b72aaf8fdef0da7c335895a2692917d5d /include/dt-bindings/spmi | |
parent | c0b00a931e5e5fc143ed5563389ef72e40de9814 (diff) | |
download | linux-b64845a7d4039ab9667bafff9d7bb59365f17c0f.tar.xz |
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 'include/dt-bindings/spmi')
0 files changed, 0 insertions, 0 deletions