aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
diff options
context:
space:
mode:
authorBart Van Assche <[email protected]>2017-05-04 22:50:53 +0000
committerNicholas Bellinger <[email protected]>2017-05-07 23:11:09 +0000
commit55d694275f41a1c0eef4ef49044ff29bc3999490 (patch)
tree1be6e0d0976a7c484852602bb15575a71f2e0ffe /drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
parenttarget/fileio: Fix zero-length READ and WRITE handling (diff)
downloadkernel-55d694275f41a1c0eef4ef49044ff29bc3999490.tar.gz
kernel-55d694275f41a1c0eef4ef49044ff29bc3999490.zip
IB/srpt: Fix abort handling
Let the target core check the CMD_T_ABORTED flag instead of the SRP target driver. Hence remove the transport_check_aborted_status() call. Since state == SRPT_STATE_CMD_RSP_SENT is something that really should not happen, do not try to recover if srpt_queue_response() is called for an I/O context that is in that state. This patch is a bug fix because the srpt_abort_cmd() call is misplaced - if that function is called from srpt_queue_response() it should either be called before the command state is changed or after the response has been sent. Signed-off-by: Bart Van Assche <[email protected]> Reviewed-by: Hannes Reinecke <[email protected]> Cc: Doug Ledford <[email protected]> Cc: Christoph Hellwig <[email protected]> Cc: Andy Grover <[email protected]> Cc: David Disseldorp <[email protected]> Signed-off-by: Nicholas Bellinger <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c')
0 files changed, 0 insertions, 0 deletions