]> git.hungrycats.org Git - linux/commit
drm/xe: Return error on non-migratable faults requiring devmem
authorMatthew Brost <matthew.brost@intel.com>
Wed, 17 Jun 2026 13:51:01 +0000 (06:51 -0700)
committerMatthew Brost <matthew.brost@intel.com>
Fri, 26 Jun 2026 08:05:18 +0000 (01:05 -0700)
commitc4508edb2c723de93717272488ea65b165637eac
tree777aac3a8d17daf2db6b12b9a9bbd96812f03854
parent692689c97bbb99f191926ec596c9193d95189702
drm/xe: Return error on non-migratable faults requiring devmem

Non-migratable faults that require devmem incorrectly jump to the 'out'
label, which squashes the error code intended to be returned to the
upper layers. Fix this by returning -EACCES instead.

Reported-by: Sashiko <sashiko-bot@kernel.org>
Fixes: 4208fac3dce5 ("drm/xe: Add more SVM GT stats")
Cc: stable@vger.kernel.org
Signed-off-by: Matthew Brost <matthew.brost@intel.com>
Reviewed-by: Francois Dugast <francois.dugast@intel.com>
Link: https://patch.msgid.link/20260617135101.1245574-1-matthew.brost@intel.com
drivers/gpu/drm/xe/xe_svm.c