[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAAo+4rWOgZvOtUk4_mGALcZOsKObPhvnkbNMG62sM5=qdHduLQ@mail.gmail.com>
Date: Thu, 27 Jul 2023 13:40:18 +0800
From: Chengfeng Ye <dg573847474@...il.com>
To: Justin Tee <justin.tee@...adcom.com>
Cc: james.smart@...adcom.com, dick.kennedy@...adcom.com,
jejb@...ux.ibm.com, martin.petersen@...cle.com,
linux-scsi@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] scsi: lpfc: Fix potential deadlock on &phba->hbalock
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
Powered by blists - more mailing lists