WSL2-Linux-Kernel/drivers/message/fusion
kashyap.desai@lsi.com 98cbe371fd [SCSI] mptfusion: Fix for device offline while doing aggressive HBA reset
[Resend patch as per Bernd Schubert comment ]

Issue:

Device goes offline while doing aggressive HBA reset
along with IO using some utility.

Root cause:

FW goes into bad state due to aggressive reset. Softreset does not
help to recover FW. And also aggressive reset open up the window for
Error handling thread to kicked off at the same time HBA will be in
constant RESET loop as part of aggressive reset test case can lead
Device to goes offline.

Changes:

1. Added extra check as below inside eh_timed_out call back as below.
   if(ioc->ioc_reset_in_progress) Rc = EH_TIMER_RESET

2. Removed " DOORBELL_ACTIVE" check for SAS controller from task
   management context.  Since SAS controller uses high priority queue
   for task management. This check is not required for SAS controller.

3. Moved SoftReset call to HardReset from Task Mgmt context.

Signed-off-by: Kashyap Desai <kashyap.desai@lsi.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
2011-08-27 08:35:53 -06:00
..
lsi Fix common misspellings 2011-03-31 11:26:23 -03:00
Kconfig [SCSI] mpt fusion: Kconfig cleanup 2007-10-12 14:48:53 -04:00
Makefile message: change to new flag variable 2011-03-17 14:05:34 +01:00
mptbase.c [SCSI] mptfusion: Fix for device offline while doing aggressive HBA reset 2011-08-27 08:35:53 -06:00
mptbase.h [SCSI] mptfusion: Fix for device offline while doing aggressive HBA reset 2011-08-27 08:35:53 -06:00
mptctl.c Fix common misspellings 2011-03-31 11:26:23 -03:00
mptctl.h [SCSI] mpt fusion : Updated copyright statment with 2008 included 2008-06-05 09:27:17 -05:00
mptdebug.h [SCSI] mpt fusion: Fixing 1078 data corruption issue for 36GB memory region 2009-06-09 17:21:31 -05:00
mptfc.c SCSI host lock push-down 2010-11-16 13:33:23 -08:00
mptlan.c [SCSI] mptfusion: Extra debug prints added relavent to Device missing delay error handling 2010-07-28 09:07:47 -05:00
mptlan.h mptlan: Kill directly reference of netdev->priv 2008-12-03 21:13:37 -08:00
mptsas.c [SCSI] mptfusion: Fix for device offline while doing aggressive HBA reset 2011-08-27 08:35:53 -06:00
mptsas.h [SCSI] mptfusion: Added sanity to check B_T mapping for device before adding to OS 2010-07-27 12:02:32 -05:00
mptscsih.c [SCSI] mptfusion: Fix for device offline while doing aggressive HBA reset 2011-08-27 08:35:53 -06:00
mptscsih.h [SCSI] mptfusion: Better handling of DEAD IOC PCI-E Link down error condition 2011-08-27 08:35:16 -06:00
mptspi.c [SCSI] mptfusion: Adding inline data padding support for TAPE drive. 2011-05-01 11:57:50 -05:00