diff options
| author | Arvind Yadav <arvind.yadav@intel.com> | 2026-08-20 12:24:45 +0530 |
|---|---|---|
| committer | Matthew Brost <matthew.brost@intel.com> | 2026-08-21 16:42:29 -0700 |
| commit | bfb24a06405b652d37831f3fb66b71d33a6605de (patch) | |
| tree | a2ea9ea540bd520cfe2190b53bb0522881cc0d25 /scripts/objdiff | |
| parent | 8899e413c5ab85443ec9bbc50cffe924c6b596de (diff) | |
| download | linux-next-bfb24a06405b652d37831f3fb66b71d33a6605de.tar.gz linux-next-bfb24a06405b652d37831f3fb66b71d33a6605de.zip | |
drm/xe: Reject page faults from non-fault-mode scratch VMs
Having scratch enabled does not make a VM capable of handling recoverable
page faults. Allowing scratch VMs through the ASID lookup also admits
dma-fence mode VMs.
If such a VM faults on an already valid VMA, the handler reports success
without fixing the fault, causing the GPU to retry indefinitely.
Only allow fault-mode VMs through the ASID lookup. Fault-mode VMs using
scratch remain supported, while faults from 3D VMs are rejected.
Fixes: ad9843aac91a ("drm/xe/madvise: Implement purgeable buffer object support")
Cc: Matthew Brost <matthew.brost@intel.com>
Cc: Thomas Hellström <thomas.hellstrom@linux.intel.com>
Cc: Himal Prasad Ghimiray <himal.prasad.ghimiray@intel.com>
Suggested-by: Matthew Brost <matthew.brost@intel.com>
Signed-off-by: Arvind Yadav <arvind.yadav@intel.com>
Reviewed-by: Matthew Brost <matthew.brost@intel.com>
Signed-off-by: Matthew Brost <matthew.brost@intel.com>
Link: https://patch.msgid.link/20260820065445.567228-1-arvind.yadav@intel.com
Diffstat (limited to 'scripts/objdiff')
0 files changed, 0 insertions, 0 deletions
