linux/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 [PATCH] slab: remove kmem_cache_t 2006-12-07 08:39:25 -08:00
aic94xx_dev.c [SCSI] aic94xx: SATA tag mask not set correctly 2007-07-18 11:13:59 -05:00
aic94xx_dump.c [SCSI] aic94xx: update for v28 firmware 2007-02-03 13:54:14 -06:00
aic94xx_dump.h [SCSI] aic94xx: new driver 2006-08-29 09:52:29 -05:00
aic94xx_hwi.c [PATCH] Transform kmem_cache_alloc()+memset(0) -> kmem_cache_zalloc(). 2007-02-11 10:51:27 -08:00
aic94xx_hwi.h [SCSI] aic94xx SCSI timeout fix 2006-11-09 14:27:48 +09:00
aic94xx_init.c [SCSI] Add SATA support to libsas 2007-07-18 11:12:53 -05:00
aic94xx_reg.c [SCSI] aic94xx: new driver 2006-08-29 09:52:29 -05:00
aic94xx_reg.h [SCSI] aic94xx: new driver 2006-08-29 09:52:29 -05:00
aic94xx_reg_def.h [SCSI] aic94xx: update for v28 firmware 2007-02-03 13:54:14 -06:00
aic94xx_sas.h [SCSI] aic94xx: Fix DDB and SCB initialization 2007-01-13 16:19:24 -06:00
aic94xx_scb.c PCI: Cleanup the includes of <linux/pci.h> 2007-05-02 19:02:35 -07:00
aic94xx_sds.c [SCSI] aic94xx: fix typos and update verison number 2007-01-27 09:24:53 -06:00
aic94xx_seq.c [SCSI] aic94xx: tie driver to the major number of the sequencer firmware 2007-02-16 09:43:31 -06:00
aic94xx_seq.h [SCSI] aic94xx: tie driver to the major number of the sequencer firmware 2007-02-16 09:43:31 -06:00
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 [SCSI] aic94xx: require firmware loader 2006-09-26 09:23:15 -07:00
Makefile Fix occurrences of "the the " 2007-05-09 08:57:56 +02:00