[PULL] drm-xe-fixes

Rodrigo Vivi
2026-03-05T13:36:10Z

Here goes our drm-xe-fixes towards 7.0-rc2

It is important to highlight it includes a fix to mm subsystem
to fix a hmm_range_fault starvation, and a subsequent revert to
drm/pagemap related to that.

The rest is regular xe fixes.

Thanks,
Rodrigo.

drm-xe-fixes-2026-03-05:
Cross-subsystem Changes:
- mm: Fix a hmm_range_fault() livelock / starvation problem (Thomas)

Core Changes:
- Revert "drm/pagemap: Disable device-to-device migration" (Thomas)

Driver Changes:
- Do not preempt fence signaling CS instructions (Brost)
- Some leak and finalization fixes (Shuicheng, Tomasz, Varun, Zhanjun)
- Workaround fix (Roper)
The following changes since commit 11439c4635edd669ae435eec308f4ab8a0804808:

Linux 7.0-rc2 (2026-03-01 15:39:31 -0800)

are available in the Git repository at:

https://gitlab.freedesktop.org/drm/xe/kernel.git tags/drm-xe-fixes-2026-03-05

for you to fetch changes up to 0cfe9c4838f1147713f6b5c02094cd4dc0c598fa:

drm/xe: Fix memory leak in xe_vm_madvise_ioctl (2026-03-04 08:54:19 -0500)

----------------------------------------------------------------
Cross-subsystem Changes:
- mm: Fix a hmm_range_fault() livelock / starvation problem (Thomas)

Core Changes:
- Revert "drm/pagemap: Disable device-to-device migration" (Thomas)

Driver Changes:
- Do not preempt fence signaling CS instructions (Brost)
- Some leak and finalization fixes (Shuicheng, Tomasz, Varun, Zhanjun)
- Workaround fix (Roper)

----------------------------------------------------------------
Matt Roper (1):
drm/xe/xe2_hpg: Correct implementation of Wa_16025250150

Matthew Brost (1):
drm/xe: Do not preempt fence signaling CS instructions

Shuicheng Lin (2):
drm/xe/configfs: Free ctx_restore_mid_bb in release
drm/xe/reg_sr: Fix leak on xa_store failure

Thomas Hellström (2):
mm: Fix a hmm_range_fault() livelock / starvation problem
Revert "drm/pagemap: Disable device-to-device migration"

Tomasz Lis (1):
drm/xe/queue: Call fini on exec queue creation fail

Varun Gupta (1):
drm/xe: Fix memory leak in xe_vm_madvise_ioctl

Zhanjun Dong (1):
drm/xe/gsc: Fix GSC proxy cleanup on early initialization failure

drivers/gpu/drm/drm_pagemap.c | 14 ++-----------
drivers/gpu/drm/xe/xe_configfs.c | 1 +
drivers/gpu/drm/xe/xe_exec_queue.c | 23 ++++++++++----------
drivers/gpu/drm/xe/xe_gsc_proxy.c | 43 +++++++++++++++++++++++++++++++-------
drivers/gpu/drm/xe/xe_gsc_types.h | 2 ++
drivers/gpu/drm/xe/xe_lrc.h | 3 ++-
drivers/gpu/drm/xe/xe_reg_sr.c | 4 +++-
drivers/gpu/drm/xe/xe_ring_ops.c | 9 ++++++++
drivers/gpu/drm/xe/xe_vm_madvise.c | 3 ++-
drivers/gpu/drm/xe/xe_wa.c | 13 ++++++------
include/linux/migrate.h | 10 ++++++++-
mm/filemap.c | 15 ++++++++-----
mm/memory.c | 3 ++-
mm/migrate.c | 8 +++----
mm/migrate_device.c | 2 +-
15 files changed, 100 insertions(+), 53 deletions(-)