]> git.ipfire.org Git - thirdparty/linux.git/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)
committerThomas Hellström <thomas.hellstrom@linux.intel.com>
Thu, 2 Jul 2026 10:29:43 +0000 (12:29 +0200)
commit136fb61ba8571076dc5d49350a0e6d002d740b74
treea15a345bd4ffc5fa7a5f192e4b7b940e00713ecb
parentef78e2a22f72c892fd6663f0760abd208d49a3e2
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
(cherry picked from commit c4508edb2c723de93717272488ea65b165637eac)
Signed-off-by: Thomas Hellström <thomas.hellstrom@linux.intel.com>
drivers/gpu/drm/xe/xe_svm.c