linux/drivers/scsi/megaraid
Shivasharan S 149c5751e6 scsi: megaraid_sas: Avoid firing DCMDs while OCR is in progress
Driver needs to avoid PCI writes while OCR is in progress.  Use
reset_mutex to synchronize between firing DCMDs MR_DCMD_PD_GET_INFO and
MR_DCMD_DRV_GET_TARGET_PROP while OCR is triggered.  Without this fix,
if Device/VD add/creation is in progress and at the same time MR
Firmware is going through OCR, user may see OCR never completed and it
may need system reboot.  This scenario is rare to occur. Fix is provided
as part of review.

Signed-off-by: Sumit Saxena <sumit.saxena@broadcom.com>
Signed-off-by: Shivasharan S <shivasharan.srikanteshwara@broadcom.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2018-01-10 23:25:16 -05:00
..
Kconfig.megaraid
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
mbox_defs.h
mega_common.h scsi: use 64-bit LUNs 2014-07-17 22:07:37 +02:00
megaraid_ioctl.h scsi: megaraid: Convert timers to use timer_setup() 2017-11-01 11:27:08 -07:00
megaraid_mbox.c scsi: megaraid: Convert timers to use timer_setup() 2017-11-01 11:27:08 -07:00
megaraid_mbox.h
megaraid_mm.c scsi: megaraid: Convert timers to use timer_setup() 2017-11-01 11:27:08 -07:00
megaraid_mm.h Replace <asm/uaccess.h> with <linux/uaccess.h> globally 2016-12-24 11:46:01 -08:00
megaraid_sas_base.c scsi: megaraid_sas: Avoid firing DCMDs while OCR is in progress 2018-01-10 23:25:16 -05:00
megaraid_sas_fp.c scsi: megaraid_sas: Error handling for invalid ldcount provided by firmware in RAID map 2018-01-10 23:25:15 -05:00
megaraid_sas_fusion.c scsi: megaraid_sas: memset IOC INIT frame using correct size 2018-01-10 23:25:14 -05:00
megaraid_sas_fusion.h scsi: megaraid_sas: Add support for 64bit consistent DMA 2017-10-25 04:55:31 -04:00
megaraid_sas.h scsi: megaraid_sas: Avoid firing DCMDs while OCR is in progress 2018-01-10 23:25:16 -05:00