summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/megaraid/Kconfig.megaraid
diff options
context:
space:
mode:
authorAnand Lodnoor <anand.lodnoor@broadcom.com>2020-01-14 12:21:20 +0100
committerMartin K. Petersen <martin.petersen@oracle.com>2020-01-16 05:21:03 +0100
commit56ee0c585602d32058d19da0d3b664be5bc374ba (patch)
treec9e88ec400a7293320dc876c2fd4966482dfaa3b /drivers/scsi/megaraid/Kconfig.megaraid
parentscsi: megaraid_sas: Do not initiate OCR if controller is not in ready state (diff)
downloadlinux-56ee0c585602d32058d19da0d3b664be5bc374ba.tar.xz
linux-56ee0c585602d32058d19da0d3b664be5bc374ba.zip
scsi: megaraid_sas: Limit the number of retries for the IOCTLs causing firmware fault
IOCTLs causing firmware fault may end up in failed controller resets and finally killing the adapter. This patch fixes this problem as stated below: In OCR sequence, driver will attempt refiring pended IOCTLs upto two times. If first two attempts fail, then in third attempt driver will return pended IOCTLs with EBUSY status to application. These changes are done to ensure if any of pended IOCTLs is causing firmware fault and resulting into OCR failure, then in last attempt of OCR driver will refrain firing it to firmware and saving adapter from being killed due to faulty IOCTL. Link: https://lore.kernel.org/r/1579000882-20246-10-git-send-email-anand.lodnoor@broadcom.com Signed-off-by: Sumit Saxena <sumit.saxena@broadcom.com> Signed-off-by: Shivasharan S <shivasharan.srikanteshwara@broadcom.com> Signed-off-by: Chandrakanth Patil <chandrakanth.patil@broadcom.com> Signed-off-by: Anand Lodnoor <anand.lodnoor@broadcom.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/megaraid/Kconfig.megaraid')
0 files changed, 0 insertions, 0 deletions