projects
/
linux-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
33c77e0
)
drm/xe: Do not kill VM in PT code on -ENODATA
author
Matthew Brost
<matthew.brost@intel.com>
Fri, 13 Jun 2025 23:18:08 +0000
(16:18 -0700)
committer
Matthew Brost
<matthew.brost@intel.com>
Tue, 17 Jun 2025 15:25:57 +0000
(08:25 -0700)
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
drivers/gpu/drm/xe/xe_pt.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/gpu/drm/xe/xe_pt.c
b/drivers/gpu/drm/xe/xe_pt.c
index f39d5cc9f411eaf82efad89b55d3858a7aa2d93c..971e55fd00616ab364bef5782adea5fb7d3148d8 100644
(file)
--- 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);