aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
diff options
context:
space:
mode:
authorJason Wang <[email protected]>2018-08-24 08:53:13 +0000
committerDavid S. Miller <[email protected]>2018-08-26 00:39:41 +0000
commit2d66f997f0545c8f7fc5cf0b49af1decb35170e7 (patch)
tree3089fb25f6dca1d8292711b2267e1feb4661ec04 /drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
parentqlge: Fix netdev features configuration. (diff)
downloadkernel-2d66f997f0545c8f7fc5cf0b49af1decb35170e7.tar.gz
kernel-2d66f997f0545c8f7fc5cf0b49af1decb35170e7.zip
vhost: correctly check the iova range when waking virtqueue
We don't wakeup the virtqueue if the first byte of pending iova range is the last byte of the range we just got updated. This will lead a virtqueue to wait for IOTLB updating forever. Fixing by correct the check and wake up the virtqueue in this case. Fixes: 6b1e6cc7855b ("vhost: new device IOTLB API") Reported-by: Peter Xu <[email protected]> Signed-off-by: Jason Wang <[email protected]> Reviewed-by: Peter Xu <[email protected]> Tested-by: Peter Xu <[email protected]> Acked-by: Michael S. Tsirkin <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c')
0 files changed, 0 insertions, 0 deletions