WSL2-Linux-Kernel/drivers/scsi/megaraid
Chandrakanth patil 6ba3569f78 scsi: megaraid_sas: Increase register read retry rount from 3 to 30 for selected registers
commit 8e3ed9e786511ad800c33605ed904b9de49323cf upstream.

In BMC environments with concurrent access to multiple registers, certain
registers occasionally yield a value of 0 even after 3 retries due to
hardware errata. As a fix, we have extended the retry count from 3 to 30.

The same errata applies to the mpt3sas driver, and a similar patch has
been accepted. Please find more details in the mpt3sas patch reference
link.

Link: https://lore.kernel.org/r/20230829090020.5417-2-ranjan.kumar@broadcom.com
Fixes: 272652fcbf ("scsi: megaraid_sas: add retry logic in megasas_readl")
Cc: stable@vger.kernel.org
Signed-off-by: Chandrakanth patil <chandrakanth.patil@broadcom.com>
Signed-off-by: Sumit Saxena <sumit.saxena@broadcom.com>
Link: https://lore.kernel.org/r/20231003110021.168862-2-chandrakanth.patil@broadcom.com
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-11-28 16:56:27 +00:00
..
Kconfig.megaraid
Makefile
mbox_defs.h
mega_common.h
megaraid_ioctl.h
megaraid_mbox.c
megaraid_mbox.h
megaraid_mm.c
megaraid_mm.h
megaraid_sas.h scsi: megaraid_sas: Fix deadlock on firmware crashdump 2023-09-23 11:10:02 +02:00
megaraid_sas_base.c scsi: megaraid_sas: Increase register read retry rount from 3 to 30 for selected registers 2023-11-28 16:56:27 +00:00
megaraid_sas_debugfs.c
megaraid_sas_fp.c scsi: megaraid_sas: Update max supported LD IDs to 240 2023-03-17 08:48:56 +01:00
megaraid_sas_fusion.c scsi: megaraid_sas: Fix crash after a double completion 2023-04-05 11:24:55 +02:00
megaraid_sas_fusion.h