]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - drivers/scsi/mvsas/mv_94xx.c
[SCSI] mvsas: fix hot plug handling and IO issues
authorSrinivas <satyasrinivasp@hcl.in>
Mon, 15 Feb 2010 06:00:00 +0000 (00:00 -0600)
committerJames Bottomley <James.Bottomley@suse.de>
Sun, 11 Apr 2010 19:44:01 +0000 (14:44 -0500)
commit9dc9fd9484c5168d23fe855e6c56543d96b6695b
tree514bbe305138f21af247441f535e20430c3829b6
parentc8032216c9607ee8c62a39484711750c1445c6a4
[SCSI] mvsas: fix hot plug handling and IO issues

This patch adds a bunch of fixes

1. Reduce sg table size to 64 (SG_MX) instead of default SG_ALL
2. clear task lists on phy down events
3. release all tasks on port deformation
4. release current task for device gone notification
5. Add sata abort handing
6. Add 10ms delay to each port reset (currently done serially and with
   interrupts disabled)

[jejb: whitespace fixes and clean ups plus added description
       added dummy 94xx_clear_srs_irq function just to prevent the
       mismatch in the mvs_dispatch structure killing 94xx cards]
Signed-off-by: Srinivas <satyasrinivasp@hcl.in>
Cc: Andy Yan <ayan@marvell.com>
Cc: qswang@marvell.com
Cc: jfeng@marvell.com
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
drivers/scsi/mvsas/mv_64xx.c
drivers/scsi/mvsas/mv_94xx.c
drivers/scsi/mvsas/mv_init.c
drivers/scsi/mvsas/mv_sas.c
drivers/scsi/mvsas/mv_sas.h