[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Mon, 7 Aug 2023 22:43:22 -0400
From: "Martin K. Petersen" <martin.petersen@...cle.com>
To: njavali@...vell.com, mrangankar@...vell.com,
GR-QLogic-Storage-Upstream@...vell.com, jejb@...ux.ibm.com,
Chengfeng Ye <dg573847474@...il.com>
Cc: "Martin K . Petersen" <martin.petersen@...cle.com>,
linux-scsi@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] scsi: qedi: Fix potential deadlock on &qedi_percpu->p_work_lock
On Wed, 26 Jul 2023 12:56:55 +0000, Chengfeng Ye wrote:
> As &qedi_percpu->p_work_lock is acquired by hard irq qedi_msix_handler(),
> other acquisition of the same lock under process context should disable
> irq, otherwise deadlock could happen if the irq preempt the execution
> while the lock is held in process context on the same CPU.
>
> qedi_cpu_offline() is one such function acquires the lock on process
> context.
>
> [...]
Applied to 6.5/scsi-fixes, thanks!
[1/1] scsi: qedi: Fix potential deadlock on &qedi_percpu->p_work_lock
https://git.kernel.org/mkp/scsi/c/dd64f8058719
--
Martin K. Petersen Oracle Linux Engineering
Powered by blists - more mailing lists