linux/drivers/scsi/megaraid
Chandrakanth patil ad347c4638 scsi: megaraid_sas: Increase register read retry rount from 3 to 30 for selected registers
commit 8e3ed9e786 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 17:19:55 +00:00
..
Kconfig.megaraid scsi: Add HAS_IOPORT dependencies 2023-05-31 19:59:26 -04:00
Makefile
mbox_defs.h treewide: remove editor modelines and cruft 2021-05-07 00:26:34 -07:00
mega_common.h treewide: remove editor modelines and cruft 2021-05-07 00:26:34 -07:00
megaraid_ioctl.h
megaraid_mbox.c scsi: megaraid: Use pci_dev_id() to simplify the code 2023-08-21 16:47:44 -04:00
megaraid_mbox.h treewide: remove editor modelines and cruft 2021-05-07 00:26:34 -07:00
megaraid_mm.c scsi: megaraid_mm: Fix end of loop tests for list_for_each_entry() 2021-07-28 23:29:09 -04:00
megaraid_mm.h
megaraid_sas_base.c scsi: megaraid_sas: Increase register read retry rount from 3 to 30 for selected registers 2023-11-28 17:19:55 +00:00
megaraid_sas_debugfs.c
megaraid_sas_fp.c overflow: Add struct_size_t() helper 2023-05-26 13:52:19 -07:00
megaraid_sas_fusion.c scsi: megaraid_sas: Fix crash after a double completion 2023-03-24 20:58:29 -04:00
megaraid_sas_fusion.h scsi: megaraid_sas: Add flexible array member for SGLs 2023-01-18 18:22:22 -05:00
megaraid_sas.h scsi: megaraid_sas: Fix deadlock on firmware crashdump 2023-09-05 05:23:40 -04:00