aboutsummaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorShivasharan S <[email protected]>2018-10-16 23:37:39 -0700
committerMartin K. Petersen <[email protected]>2018-11-06 20:33:56 -0500
commit3f6194af539464d83b29ed347aceddb336a3625c (patch)
treea9e91aeb4437552b78ffa8715332b5420ab70cbb /include/linux
parent8dbb748d4d1b6731f12dbdb855ffe320cfe2cb2b (diff)
scsi: megaraid_sas: Add watchdog thread to detect Firmware fault
Currently driver checks for Firmware state change from ISR context, and only when there are interrupts tied with no I/O completions. We have seen multiple cases where doorbell interrupts sent by firmware to indicate FW state change are not processed by driver and it takes long time for driver to trigger OCR. And if there are no IOs running, since we only check the FW state as part of ISR code, fault goes undetected by driver and OCR will not be triggered. This patch introduces a separate workqueue that runs every one second to detect Firmware FAULT state and trigger reset immediately. As an additional gain, removing PCI reads from ISR to check FW state results in improved performance as well. Signed-off-by: Sumit Saxena <[email protected]> Signed-off-by: Shivasharan S <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions