aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
diff options
context:
space:
mode:
authorZiyangZhang <[email protected]>2022-08-10 05:52:12 +0000
committerJens Axboe <[email protected]>2022-08-13 14:35:28 +0000
commit92cb6e2e5dbaea02c2fa317f3543c8918db25e89 (patch)
treef53af683fc1277fa9a3c56d8ca660a19ade4bea8 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
parentblock: Do not call blk_put_queue() if gendisk allocation fails (diff)
downloadkernel-92cb6e2e5dbaea02c2fa317f3543c8918db25e89.tar.gz
kernel-92cb6e2e5dbaea02c2fa317f3543c8918db25e89.zip
ublk_drv: update iod->addr for UBLK_IO_NEED_GET_DATA
If ublksrv sends UBLK_IO_NEED_GET_DATA with new allocated io buffer, we have to update iod->addr in task_work before calling io_uring_cmd_done(). Then usersapce target can handle (write)io request with the new io buffer reading from updated iod. Without this change, userspace target may touch a wrong io buffer! Signed-off-by: ZiyangZhang <[email protected]> Reviewed-by: Ming Lei <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions