Re: [PATCH] scsi: qedi: Fix potential deadlock on &qedi_percpu->p_work_lock
From: Martin K. Petersen
Date: Mon Aug 07 2023 - 22:43:50 EST
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