Re: [PATCH] scsi: lpfc: Fix potential deadlock on &phba->hbalock
From: Chengfeng Ye
Date: Thu Jul 27 2023 - 01:43:57 EST
Hi Justin,
Thanks much for the reply, it is my negligence of not have noticed it,
and sorry for this.
I inspect the bug report of my tool again and just find that actually
lpfc_sli4_intr_handler() also acquires that lock.
lpfc_sli4_intr_handler()
-> lpfc_sli4_hba_intr_handler()
-> spin_lock_irqsave(&phba->hbalock, iflag);
It seems like this isr is called on an SLI4 type HBA. If consider this
one could it be a deadlock problem?
Thanks again,
Chengfeng