android_kernel_samsung_msm8976/drivers/scsi/aic94xx
Darrick J. Wong ba330ffebb [SCSI] aic94xx: Don't call pci_map_sg for already-mapped scatterlists
It turns out that libata has already dma_map_sg'd the scatterlist
entries that go with an ata_queued_cmd by the time it calls
sas_ata_qc_issue.  sas_ata_qc_issue passes this scatterlist to aic94xx.
Unfortunately, aic94xx assumes that any scatterlist passed to it needs
to be pci_map_sg'd... which blows away the mapping that libata created!
This causes (on a x260) Calgary IOMMU table leaks and duplicate frees
when aic94xx and libata try to {pci,dma}_unmap_sg the scatterlist.

Signed-off-by: Darrick J. Wong <djwong@us.ibm.com>

Key this check off ATA_PROTOCOL_STP

Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
2007-07-18 11:14:47 -05:00
..
aic94xx.h
aic94xx_dev.c [SCSI] aic94xx: SATA tag mask not set correctly 2007-07-18 11:13:59 -05:00
aic94xx_dump.c
aic94xx_dump.h
aic94xx_hwi.c
aic94xx_hwi.h
aic94xx_init.c [SCSI] Add SATA support to libsas 2007-07-18 11:12:53 -05:00
aic94xx_reg.c
aic94xx_reg.h
aic94xx_reg_def.h
aic94xx_sas.h
aic94xx_scb.c
aic94xx_sds.c
aic94xx_seq.c
aic94xx_seq.h
aic94xx_task.c [SCSI] aic94xx: Don't call pci_map_sg for already-mapped scatterlists 2007-07-18 11:14:47 -05:00
aic94xx_tmf.c [SCSI] aic94xx: asd_clear_nexus should fail if the cleared task does not complete 2007-05-22 14:12:45 -05:00
Kconfig
Makefile Fix occurrences of "the the " 2007-05-09 08:57:56 +02:00