diff options
author | Bhavesh Jashnani <bjashnani@google.com> | 2021-01-09 13:38:47 +0100 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2021-01-13 06:02:01 +0100 |
commit | 6b2f2d05b58102f6d1b07806ff170fbcc5cdc3de (patch) | |
tree | b49a409a999c9d104d09ff921789cf624782b78f /drivers/scsi/dc395x.h | |
parent | scsi: pm80xx: Fix driver fatal dump failure (diff) | |
download | linux-6b2f2d05b58102f6d1b07806ff170fbcc5cdc3de.tar.xz linux-6b2f2d05b58102f6d1b07806ff170fbcc5cdc3de.zip |
scsi: pm80xx: Simultaneous poll for all FW readiness
In check_fw_ready() we first wait for ILA to come up and then we wait for
RAAE to come up and IOPs and so on. This is a sequential check. Because of
this, ILA image seems to be not ready in the allocated time and so the
driver marks it as "not ready" and then moves on to other FW images.
ILA does become ready eventually, but is not checked again. The driver
concludes that FW is not ready when it actually is.
Instead of sequentially polling each image, we keep polling for all images
to be ready. The timeout for the polling has been set to the sum of what
was used for each individual image.
Link: https://lore.kernel.org/r/20210109123849.17098-7-Viswas.G@microchip.com
Acked-by: Jack Wang <jinpu.wang@cloud.ionos.com>
Signed-off-by: Bhavesh Jashnani <bjashnani@google.com>
Signed-off-by: Viswas G <Viswas.G@microchip.com>
Signed-off-by: Ruksar Devadi <Ruksar.devadi@microchip.com>
Signed-off-by: Ashokkumar N <Ashokkumar.N@microchip.com>
Signed-off-by: Radha Ramachandran <radha@google.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/dc395x.h')
0 files changed, 0 insertions, 0 deletions