summaryrefslogtreecommitdiff
path: root/drivers/edac/mce_amd.c
diff options
context:
space:
mode:
authorJustin Tee <justin.tee@broadcom.com>2024-09-12 16:24:41 -0700
committerMartin K. Petersen <martin.petersen@oracle.com>2024-09-12 21:21:19 -0400
commitfc318cac66ac50398f9fc7cbec7b339e6d08a7e6 (patch)
tree2cee744f7a12f8fd98e59ee47b27c5e83ee6ebdd /drivers/edac/mce_amd.c
parent93bcc5f3984bf4f51da1529700aec351872dbfff (diff)
scsi: lpfc: Update phba link state conditional before sending CMF_SYNC_WQE
It's possible for the driver to send a CMF_SYNC_WQE to nonresponsive firmware during reset of the adapter. The phba link_state conditional check is currently a strict == LPFC_LINK_DOWN, which does not cover initialization states before reaching the LPFC_LINK_UP state. Update the phba->link_state conditional to < LPFC_LINK_UP so that all initialization states are covered before allowing sending CMF_SYNC_WQE. Update taking of the hbalock to be during this link_state check as well. Signed-off-by: Justin Tee <justin.tee@broadcom.com> Link: https://lore.kernel.org/r/20240912232447.45607-3-justintee8345@gmail.com Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/edac/mce_amd.c')
0 files changed, 0 insertions, 0 deletions