diff options
author | Christoph Hellwig <hch@lst.de> | 2018-10-11 16:17:14 +0200 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2018-10-17 21:34:20 -0400 |
commit | 3a5bd7021184dec2946f2a4d7a8943f8a5713e52 (patch) | |
tree | bcb0d7509dc78b4d8adc8688ba9437975a368304 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | cd29660dc8675ec235db23e38435fad833158e1c (diff) |
scsi: dc395x: fix dma API usage in srb_done
We can't just transfer ownership to the CPU and then unmap, as this will
break with swiotlb.
Instead unmap the command and sense buffer a little earlier in the I/O
completion handler and get rid of the pci_dma_sync_sg_for_cpu call
entirely.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions