linux-stable/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.h libsas: remove task_collector mode 2014-11-27 16:40:24 +01: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
aic94xx_dump.h
aic94xx_hwi.c libsas: remove task_collector mode 2014-11-27 16:40:24 +01:00
aic94xx_hwi.h
aic94xx_init.c aic94xx: remove SCSI host before detaching from SAS transport 2015-11-09 19:36:50 -05:00
aic94xx_reg.c
aic94xx_reg.h
aic94xx_reg_def.h
aic94xx_sas.h
aic94xx_scb.c
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_seq.c aic94xx: Get rid of redundant NULL check before release_firmware() call 2012-04-30 13:22:58 +02:00
aic94xx_seq.h
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
Kconfig
Makefile