diff options
author | Christoph Hellwig <hch@lst.de> | 2018-10-11 16:17:14 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-12-01 09:16:32 +0100 |
commit | e95ec662b1267022143ae03afdcc65715a76dc89 (patch) | |
tree | 3aac3bc7804728addba701e6ae2352ae71bca788 /Kconfig | |
parent | 95655b10529d2b9beee913088b762df0146238be (diff) | |
download | linux-stable-e95ec662b1267022143ae03afdcc65715a76dc89.tar.gz linux-stable-e95ec662b1267022143ae03afdcc65715a76dc89.tar.bz2 linux-stable-e95ec662b1267022143ae03afdcc65715a76dc89.zip |
scsi: dc395x: fix dma API usage in srb_done
[ Upstream commit 3a5bd7021184dec2946f2a4d7a8943f8a5713e52 ]
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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'Kconfig')
0 files changed, 0 insertions, 0 deletions