kernel_samsung_a53x/drivers/scsi/megaraid
Tomas Henzl 0d4a00b23a scsi: megaraid_sas: Fix for a potential deadlock
[ Upstream commit 50740f4dc78b41dec7c8e39772619d5ba841ddd7 ]

This fixes a 'possible circular locking dependency detected' warning
      CPU0                    CPU1
      ----                    ----
 lock(&instance->reset_mutex);
                              lock(&shost->scan_mutex);
                              lock(&instance->reset_mutex);
 lock(&shost->scan_mutex);

Fix this by temporarily releasing the reset_mutex.

Signed-off-by: Tomas Henzl <thenzl@redhat.com>
Link: https://lore.kernel.org/r/20240923174833.45345-1-thenzl@redhat.com
Acked-by: Chandrakanth Patil <chandrakanth.patil@broadcom.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2025-01-15 16:29:50 +01:00
..
Kconfig.megaraid Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Makefile Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mbox_defs.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mega_common.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
megaraid_ioctl.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
megaraid_mbox.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
megaraid_mbox.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
megaraid_mm.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
megaraid_mm.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
megaraid_sas.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
megaraid_sas_base.c scsi: megaraid_sas: Fix for a potential deadlock 2025-01-15 16:29:50 +01:00
megaraid_sas_debugfs.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
megaraid_sas_fp.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
megaraid_sas_fusion.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
megaraid_sas_fusion.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00