linux/drivers/scsi/megaraid
Christoph Hellwig 67d98f0a83 scsi: megaraid_mbox: remove bogus use of pci_dma_sync_sg_* APIs
The dma_map_sg / dma_unmap_sg APIs called from scsi_dma_map /
scsi_dma_unmap already transfer memory ownership to the device or cpu
respectively.  Adding additional calls to pci_dma_sync_sg_* will in fact
lead to data corruption if we end up using swiotlb for some reason.

Also remove the now pointless megaraid_mbox_sync_scb function.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2018-10-15 22:39:23 -04:00
..
Kconfig.megaraid
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
mbox_defs.h
mega_common.h
megaraid_ioctl.h scsi: megaraid: Convert timers to use timer_setup() 2017-11-01 11:27:08 -07:00
megaraid_mbox.c scsi: megaraid_mbox: remove bogus use of pci_dma_sync_sg_* APIs 2018-10-15 22:39:23 -04:00
megaraid_mbox.h scsi: megaraid: fix spelling mistake "maibox" -> "mailbox" 2018-09-25 20:59:27 -04:00
megaraid_mm.c treewide: kmalloc() -> kmalloc_array() 2018-06-12 16:19:22 -07:00
megaraid_mm.h Replace <asm/uaccess.h> with <linux/uaccess.h> globally 2016-12-24 11:46:01 -08:00
megaraid_sas_base.c scsi: read host_busy via scsi_host_busy() 2018-06-26 12:53:26 -04:00
megaraid_sas_fp.c scsi: megaraid_sas: Update LD map after populating drv_map driver map copy 2018-01-10 23:25:17 -05:00
megaraid_sas_fusion.c scsi: megaraid_sas: Support FW provided TM timeout values 2018-06-18 21:05:32 -04:00
megaraid_sas_fusion.h scsi: megaraid_sas: re-work DCMD refire code 2018-01-10 23:25:19 -05:00
megaraid_sas.h scsi: megaraid_sas: driver version upgrade 2018-06-18 21:05:32 -04:00