diff options
author | Christoph Hellwig <hch@lst.de> | 2015-10-03 19:16:07 +0200 |
---|---|---|
committer | James Bottomley <JBottomley@Odin.com> | 2015-10-07 10:24:48 -0700 |
commit | 15e3d5a285ab9283136dba34bbf72886d9146706 (patch) | |
tree | 8c94bda0e97d809ed69bfe5e51a1a064d5e27a9d /drivers/gpu/drm/amd/amdgpu/tonga_smc.c | |
parent | 1378889c563a2938d231203ed36c041af183b798 (diff) | |
download | linux-15e3d5a285ab9283136dba34bbf72886d9146706.tar.bz2 |
3w-9xxx: don't unmap bounce buffered commands
3w controller don't dma map small single SGL entry commands but instead
bounce buffer them. Add a helper to identify these commands and don't
call scsi_dma_unmap for them.
Based on an earlier patch from James Bottomley.
Fixes: 118c85 ("3w-9xxx: fix command completion race")
Reported-by: Tóth Attila <atoth@atoth.sote.hu>
Tested-by: Tóth Attila <atoth@atoth.sote.hu>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Acked-by: Adam Radford <aradford@gmail.com>
Signed-off-by: James Bottomley <JBottomley@Odin.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/tonga_smc.c')
0 files changed, 0 insertions, 0 deletions