Skip to content

Commit badf456

Browse files
committed
drm/xe: Do not kill VM in PT code on -ENODATA
No need kill on -ENODATA as is this non-fatal error can occur when MMU notifiers race with prefetches. Fixes: 09ba0a8 ("drm/xe/svm: Implement prefetch support for SVM ranges") Cc: [email protected] Signed-off-by: Matthew Brost <[email protected]> Reviewed-by: Himal Prasad Ghimiray <[email protected]>> Link: https://lore.kernel.org/r/[email protected]
1 parent 33c77e0 commit badf456

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/gpu/drm/xe/xe_pt.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2524,7 +2524,7 @@ xe_pt_update_ops_run(struct xe_tile *tile, struct xe_vma_ops *vops)
25242524
kfree(mfence);
25252525
kfree(ifence);
25262526
kill_vm_tile1:
2527-
if (err != -EAGAIN && tile->id)
2527+
if (err != -EAGAIN && err != -ENODATA && tile->id)
25282528
xe_vm_kill(vops->vm, false);
25292529

25302530
return ERR_PTR(err);

0 commit comments

Comments
 (0)