summaryrefslogtreecommitdiff
path: root/fs/ceph
diff options
context:
space:
mode:
authorJames Smart <jsmart2021@gmail.com>2021-10-20 14:14:11 -0700
committerMartin K. Petersen <martin.petersen@oracle.com>2021-10-20 23:33:45 -0400
commitd305c253af693e69a36cedec880aca6d0c6d789d (patch)
tree8dbe12d91c2f8dc4536a04565a0dd83609bc830d /fs/ceph
parenta516074c20261d7a49164206579ef89a04b8fc39 (diff)
downloadlinux-d305c253af693e69a36cedec880aca6d0c6d789d.tar.gz
linux-d305c253af693e69a36cedec880aca6d0c6d789d.tar.bz2
linux-d305c253af693e69a36cedec880aca6d0c6d789d.zip
scsi: lpfc: Wait for successful restart of SLI3 adapter during host sg_reset
A prior patch introduced HBA_NEEDS_CFG_PORT flag logic, but in lpfc_sli_brdrestart_s3() code path, right after HBA_NEEDS_CFG_PORT is set, the phba->hba_flag is cleared in lpfc_sli_brdreset(). Fix by calling lpfc_sli_chipset_init() to wait for successful restart of the HBA in lpfc_host_reset_handler() after lpfc_sli_brdrestart(). lpfc_sli_chipset_init() sets the HBA_NEEDS_CFG_PORT flag so that the lpfc_sli_hba_setup() routine from lpfc_online() will execute lpfc_sli_config_port() initialization step when the brdrestart is successful. Link: https://lore.kernel.org/r/20211020211417.88754-3-jsmart2021@gmail.com Fixes: d2f2547efd39 ("scsi: lpfc: Fix auto sli_mode and its effect on CONFIG_PORT for SLI3") Co-developed-by: Justin Tee <justin.tee@broadcom.com> Signed-off-by: Justin Tee <justin.tee@broadcom.com> Signed-off-by: James Smart <jsmart2021@gmail.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'fs/ceph')
0 files changed, 0 insertions, 0 deletions