diff options
author | Matthew Brost <matthew.brost@intel.com> | 2024-01-04 00:00:39 -0800 |
---|---|---|
committer | Thomas Hellström <thomas.hellstrom@linux.intel.com> | 2024-01-15 15:36:37 +0100 |
commit | 56c253daabc8bd9dfbae52c3d9e0dd34977347a6 (patch) | |
tree | eeb88b0d11383edfd4a60f090b529a01c805ef39 /fs/eventpoll.c | |
parent | 7b1a8a5fcee4a85be1f540ac0e09761d421e562d (diff) | |
download | linux-stable-56c253daabc8bd9dfbae52c3d9e0dd34977347a6.tar.gz linux-stable-56c253daabc8bd9dfbae52c3d9e0dd34977347a6.tar.bz2 linux-stable-56c253daabc8bd9dfbae52c3d9e0dd34977347a6.zip |
drm/xe: Fix exec IOCTL long running exec queue ring full condition
The intent is to return -EWOULDBLOCK to the user if a long running exec
queue is full during the exec IOCTL. -EWOULDBLOCK aliases to -EAGAIN
which results in the exec IOCTL doing a retry loop. Fix this by ensuring
the retry loop is broken when returning -EWOULDBLOCK.
Fixes: 8ae8a2e8dd21 ("drm/xe: Long running job update")
Reported-by: Sai Gowtham Ch <sai.gowtham.ch@intel.com>
Signed-off-by: Matthew Brost <matthew.brost@intel.com>
Reviewed-by: Brian Welty <brian.welty@intel.com>
(cherry picked from commit 97d0047cbb17318431eaf37dfe1a6855539340f9)
Signed-off-by: Thomas Hellström <thomas.hellstrom@linux.intel.com>
Diffstat (limited to 'fs/eventpoll.c')
0 files changed, 0 insertions, 0 deletions