]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/pagemap: Disable device-to-device migration
authorMatthew Brost <matthew.brost@intel.com>
Wed, 7 Jan 2026 18:27:16 +0000 (10:27 -0800)
committerMatthew Brost <matthew.brost@intel.com>
Thu, 8 Jan 2026 05:29:40 +0000 (21:29 -0800)
commit10dd1eaa80a56d3cf6d7c36b5269c8fed617f001
treeb0dde6134ee6ebdafcedba316d7bae69560240a2
parent3902846af36beca676735540470a115b3d637263
drm/pagemap: Disable device-to-device migration

Device-to-device migration is causing xe_exec_system_allocator --r
*race*no* to intermittently fail with engine resets and a kernel hang on
a page lock. This should work but is clearly buggy somewhere. Disable
device-to-device migration in the interim until the issue can be
root-caused.

The only downside of disabling device-to-device migration is that memory
will bounce through system memory during migration. However, this path
should be rare, as it only occurs when madvise attributes are changed or
atomics are used.

Cc: Thomas Hellström <thomas.hellstrom@linux.intel.com>
Fixes: ec265e1f1cfc ("drm/pagemap: Support source migration over interconnect")
Signed-off-by: Matthew Brost <matthew.brost@intel.com>
Reviewed-by: Francois Dugast <francois.dugast@intel.com>
Link: https://patch.msgid.link/20260107182716.2236607-3-matthew.brost@intel.com
drivers/gpu/drm/drm_pagemap.c