linux_dsm_epyc7002/drivers/scsi/aic94xx
Jack Wang 4024593d5d aic94xx: remove SCSI host before detaching from SAS transport
commit cff549e486 ("scsi: proper state checking and module refcount
handling in scsi_device_get") the reference count of scsi device was
changed, which could lead to when rmmod with at least on drive attached,
SCSI error handle will run into infinite loop, and lockup the system.

Fix it by remove scsi host first, this way scsi core will not send
commands down after detaching SAS transport.

This is a follow up fix for Benjamin's fix for pm80xx.

See also:
http://www.spinics.net/lists/linux-scsi/msg90088.html

Signed-off-by: Jack Wang <jinpu.wang@profitbricks.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2015-11-09 19:36:50 -05:00
..
aic94xx_dev.c [SCSI] sas: unify the pointlessly separated enums sas_dev_type and sas_device_type 2013-05-10 07:47:52 -07:00
aic94xx_dump.c aix94xx: Use angle brackets for system includes 2011-09-15 14:02:57 +02:00
aic94xx_dump.h [SCSI] aic94xx: cleanups 2008-04-07 12:19:08 -05:00
aic94xx_hwi.c libsas: remove task_collector mode 2014-11-27 16:40:24 +01:00
aic94xx_hwi.h [SCSI] aic94xx: cleanups 2008-04-07 12:19:08 -05:00
aic94xx_init.c aic94xx: remove SCSI host before detaching from SAS transport 2015-11-09 19:36:50 -05:00
aic94xx_reg_def.h Fix common misspellings 2011-03-31 11:26:23 -03:00
aic94xx_reg.c [SCSI] aic94xx: cleanups 2008-04-07 12:19:08 -05:00
aic94xx_reg.h
aic94xx_sas.h [SCSI] aic94xx: fix ABORT_TASK define conflict 2008-02-11 13:36:31 -06:00
aic94xx_scb.c [SCSI] isci: export phy events via ->lldd_control_phy() 2011-10-02 13:24:26 -05:00
aic94xx_sds.c aic94xx: Skip reading user settings if flash is not found 2015-08-28 13:14:54 -07:00
aic94xx_sds.h aic94xx: treat firmware data as const 2008-07-10 14:26:15 +01:00
aic94xx_seq.c aic94xx: Get rid of redundant NULL check before release_firmware() call 2012-04-30 13:22:58 +02:00
aic94xx_seq.h [SCSI] aic94xx: cleanups 2008-04-07 12:19:08 -05:00
aic94xx_task.c Merge branch 'for-3.19' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/libata 2014-12-11 18:52:37 -08:00
aic94xx_tmf.c [SCSI] sas: unify the pointlessly separated enums sas_dev_type and sas_device_type 2013-05-10 07:47:52 -07:00
aic94xx.h libsas: remove task_collector mode 2014-11-27 16:40:24 +01:00
Kconfig
Makefile scsi: change to new flag variable 2011-03-17 14:05:35 +01:00