diff options
author | Matthew Brost <matthew.brost@intel.com> | 2025-06-13 16:18:08 -0700 |
---|---|---|
committer | Matthew Brost <matthew.brost@intel.com> | 2025-06-17 08:25:57 -0700 |
commit | badf45650bbd14e17ae3d8088a6be672c96a7665 (patch) | |
tree | 148816137a4cb0ab316d1afe5fce7021f9e736d7 | |
parent | 33c77e00f2ee74406474c2b6e2adab45f25e4bf2 (diff) |
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: 09ba0a8f06cd ("drm/xe/svm: Implement prefetch support for SVM ranges")
Cc: stable@vger.kernel.org
Signed-off-by: Matthew Brost <matthew.brost@intel.com>
Reviewed-by: Himal Prasad Ghimiray <himal.prasad.ghimiray@intel.com>>
Link: https://lore.kernel.org/r/20250613231808.752616-1-matthew.brost@intel.com
-rw-r--r-- | drivers/gpu/drm/xe/xe_pt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/xe/xe_pt.c b/drivers/gpu/drm/xe/xe_pt.c index f39d5cc9f411..971e55fd0061 100644 --- a/drivers/gpu/drm/xe/xe_pt.c +++ b/drivers/gpu/drm/xe/xe_pt.c @@ -2524,7 +2524,7 @@ free_ifence: kfree(mfence); kfree(ifence); kill_vm_tile1: - if (err != -EAGAIN && tile->id) + if (err != -EAGAIN && err != -ENODATA && tile->id) xe_vm_kill(vops->vm, false); return ERR_PTR(err); |