Searched hist:"4616 a4b3cb8aa736882f8dc392cf146365ead2a4" (Results 1 – 1 of 1) sorted by relevance
/linux/drivers/scsi/mpi3mr/ |
H A D | mpi3mr_fw.c | diff 4616a4b3cb8aa736882f8dc392cf146365ead2a4 Thu Sep 05 12:27:52 CEST 2024 Ranjan Kumar <ranjan.kumar@broadcom.com> scsi: mpi3mr: Improve wait logic while controller transitions to READY state
During controller transitioning to READY state, if the controller is found in transient states ("becoming ready" or "reset requested"), driver waits for 510 secs even if the controller transitions out of these states early. This causes an unnecessary delay of 510 secs in the overall firmware initialization sequence.
Poll the controller state periodically (every 100 milliseconds) while waiting for the controller to come out of the mentioned transient states. Once the controller transits out of the transient states, come out of the wait loop.
Signed-off-by: Sumit Saxena <sumit.saxena@broadcom.com> Signed-off-by: Ranjan Kumar <ranjan.kumar@broadcom.com> Link: https://lore.kernel.org/r/20240905102753.105310-5-ranjan.kumar@broadcom.com Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
|