diff options
| author | Matthew Brost <matthew.brost@intel.com> | 2024-01-04 11:00:39 +0300 |
|---|---|---|
| committer | Thomas Hellström <thomas.hellstrom@linux.intel.com> | 2024-01-15 17:36:37 +0300 |
| commit | 56c253daabc8bd9dfbae52c3d9e0dd34977347a6 (patch) | |
| tree | eeb88b0d11383edfd4a60f090b529a01c805ef39 /lib/test_fortify/write_overflow-strncpy-src.c | |
| parent | 7b1a8a5fcee4a85be1f540ac0e09761d421e562d (diff) | |
| download | linux-56c253daabc8bd9dfbae52c3d9e0dd34977347a6.tar.xz | |
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 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions
