Christoph, > 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. Applied to 4.20/scsi-queue, thanks! -- Martin K. Petersen Oracle Linux Engineering