linux/drivers/scsi/aic94xx
Dan Williams 6ef1b512f4 [SCSI] libsas: fix taskfile corruption in sas_ata_qc_fill_rtf
fill_result_tf() grabs the taskfile flags from the originating qc which
sas_ata_qc_fill_rtf() promptly overwrites.  The presence of an
ata_taskfile in the sata_device makes it tempting to just copy the full
contents in sas_ata_qc_fill_rtf().  However, libata really only wants
the fis contents and expects the other portions of the taskfile to not
be touched by ->qc_fill_rtf.  To that end store a fis buffer in the
sata_device and use ata_tf_from_fis() like every other ->qc_fill_rtf()
implementation.

Cc: <stable@vger.kernel.org>
Reported-by: Praveen Murali <pmurali@logicube.com>
Tested-by: Praveen Murali <pmurali@logicube.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
2012-07-08 09:49:14 +01:00
..
aic94xx_dev.c [SCSI] libsas: use ->set_dmamode to notify lldds of NCQ parameters 2012-02-19 13:55:42 -06: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 include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
aic94xx_hwi.h [SCSI] aic94xx: cleanups 2008-04-07 12:19:08 -05:00
aic94xx_init.c [SCSI] libsas: async ata scanning 2012-02-29 15:35:41 -06: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 include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09: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 [SCSI] libsas: fix taskfile corruption in sas_ata_qc_fill_rtf 2012-07-08 09:49:14 +01:00
aic94xx_tmf.c [SCSI] libsas: don't recover end devices attached to disabled phys 2012-02-29 15:42:51 -06:00
aic94xx.h [SCSI] libsas: use ->set_dmamode to notify lldds of NCQ parameters 2012-02-19 13:55:42 -06:00
Kconfig
Makefile scsi: change to new flag variable 2011-03-17 14:05:35 +01:00