Skip to contentSkip to conversation

drm-xe-next

GIT PULL Matthew Brost 1 participant 1 message Sep 1

lore
Share & tools
lore
#0 lore raw

Hi Dave and Sima,

Here goes our first drm-xe-next pull towards 7.4.

Big things we have are: VF migration for multi-queue, parallel page fault handling, various RAS features, and structured SIGID error logging.

Matt

drm-xe-next-2026-08-31-1:
Cross-subsystem Changes:
- MAINTAINERS: Add entries for drm_ras (Rodrigo)
- alerts and controller enabling modifications (Heikki)

Core Changes:
- Introduce cold reset recovery method (Mallesh)
- Add drm_ras netlink error event support (Riana)
- Introduce error threshold to drm_ras (Raag)

Driver Changes:
- Remove sysfs entry on idr_alloc failure in xe_oa_add_config_ioctl (Lu)
- match argument naming with PCODE_DATAx (Grzelak)
- fix stale GGTT mappings on unmap (Tangudu)
- Introduce error threshold to drm_ras (Raag)
- Add debugfs knob to control GPGPU preemption granularity (Varun)
- fix vecs config for powergating info (Ashutosh)
- Read mailbox phase bit from hardware (Anoop)
- alerts and controller enabling modifications (Heikki)
- Use int instead of u32 for mailbox status (Umesh)
- Reject page faults from non-fault-mode scratch VMs (Arvind)
- Add CCS to the powergating info print (Balasubramani)
- Do not apply WA 14025883347 to media 3503 (Daniele)
- don't WARN on kernel job timeout when device already wedged (Nitin)
- handle exec queue teardown after hot-unplug (Nitin)
- Allow debugging PCI errors (Raag)
- Add structured SIGID error logging infrastructure (Wajdeczko, Rodrigo)
- Enable package and vram temperatures for CRI (Karthik)
- Introduce cold reset recovery method (Mallesh)
- fix error message in xe_migrate_sanity_test (Dan Carpenter)
- Add drm_ras netlink error event support (Riana)
- Fix a bug in pc_adjust_freq_bounds() (Vinay)
- Fix xe_device_probe() failure (Raag)
- Page fault cleanups (Wajdeczko)
- OA memory fixes (Linmao)
- document sentinel and make CTX_TIMESTAMP read TOCTOU-safe (Gajendra)
- Move has_drm_ras check to drm_ras layer (Raag)
- add termination on resume (Daniele)
- Add _locked variants of some config functions (Wajdeczko)
- Order ring writes before ring tail updates (Brost)
- Parallel page fault handling (Brost)
- handle CRI+ power interval encoding (Karthik)
- allocate UM queues in a separate UC BO (Jia)
- Fix boot-time ras error processing (Raag)
- VF migration for multi-queue (Niranjana)
- Apply RCS/CCS yield policy to SR-IOV VFs (Marcin)
- Fix memory leak in exec_queue_set_hang_replay_state (Winiarski)
- Use IBC v3 on PTL (Vinay)
- Reduce MERT debug log spam (Lukasz, Piotr)
- Validate sysctrl response (Raag)
- Changes for Xe3p_HPM media (Ashutosh)
The following changes since commit cee9395acd8043be0644b25c34bfa86623f2b935:

Linux 7.3-rc1 (2026-08-30 13:34:40 -0700)

are available in the Git repository at:

https://gitlab.freedesktop.org/drm/xe/kernel.git tags/drm-xe-next-2026-08-31-1

for you to fetch changes up to cc467969646b9778c947bec1383fb3cdaada14d5:

Merge drm/drm-next into drm-xe-next (2026-08-31 15:42:28 -0700)

----------------------------------------------------------------
Cross-subsystem Changes:
- MAINTAINERS: Add entries for drm_ras (Rodrigo)
- alerts and controller enabling modifications (Heikki)

Core Changes:
- Introduce cold reset recovery method (Mallesh)
- Add drm_ras netlink error event support (Riana)
- Introduce error threshold to drm_ras (Raag)

Driver Changes:
- Remove sysfs entry on idr_alloc failure in xe_oa_add_config_ioctl (Lu)
- match argument naming with PCODE_DATAx (Grzelak)
- fix stale GGTT mappings on unmap (Tangudu)
- Introduce error threshold to drm_ras (Raag)
- Add debugfs knob to control GPGPU preemption granularity (Varun)
- fix vecs config for powergating info (Ashutosh)
- Read mailbox phase bit from hardware (Anoop)
- alerts and controller enabling modifications (Heikki)
- Use int instead of u32 for mailbox status (Umesh)
- Reject page faults from non-fault-mode scratch VMs (Arvind)
- Add CCS to the powergating info print (Balasubramani)
- Do not apply WA 14025883347 to media 3503 (Daniele)
- don't WARN on kernel job timeout when device already wedged (Nitin)
- handle exec queue teardown after hot-unplug (Nitin)
- Allow debugging PCI errors (Raag)
- Add structured SIGID error logging infrastructure (Wajdeczko, Rodrigo)
- Enable package and vram temperatures for CRI (Karthik)
- Introduce cold reset recovery method (Mallesh)
- fix error message in xe_migrate_sanity_test (Dan Carpenter)
- Add drm_ras netlink error event support (Riana)
- Fix a bug in pc_adjust_freq_bounds() (Vinay)
- Fix xe_device_probe() failure (Raag)
- Page fault cleanups (Wajdeczko)
- OA memory fixes (Linmao)
- document sentinel and make CTX_TIMESTAMP read TOCTOU-safe (Gajendra)
- Move has_drm_ras check to drm_ras layer (Raag)
- add termination on resume (Daniele)
- Add _locked variants of some config functions (Wajdeczko)
- Order ring writes before ring tail updates (Brost)
- Parallel page fault handling (Brost)
- handle CRI+ power interval encoding (Karthik)
- allocate UM queues in a separate UC BO (Jia)
- Fix boot-time ras error processing (Raag)
- VF migration for multi-queue (Niranjana)
- Apply RCS/CCS yield policy to SR-IOV VFs (Marcin)
- Fix memory leak in exec_queue_set_hang_replay_state (Winiarski)
- Use IBC v3 on PTL (Vinay)
- Reduce MERT debug log spam (Lukasz, Piotr)
- Validate sysctrl response (Raag)
- Changes for Xe3p_HPM media (Ashutosh)

----------------------------------------------------------------
Anoop Vijay (1):
drm/xe/sysctrl: Read mailbox phase bit from hardware

Arvind Yadav (1):
drm/xe: Reject page faults from non-fault-mode scratch VMs

Ashutosh Dixit (3):
drm/xe/mcr: Take vcs1/vecs1 into account for first media slice drm/xe/oa: Extend OAM unit hwe assignment for new dGfx drm/xe/xe_gt_idle: fix vecs config for powergating info

Balasubramani Vivekanandan (1):
drm/xe/xe_gt_idle: Add CCS to the powergating info print

Dan Carpenter (1):
drm/xe: tests: fix error message in xe_migrate_sanity_test()

Daniele Ceraolo Spurio (2):
drm/xe/pxp: add termination on resume drm/xe: Do not apply WA 14025883347 to media 3503

Gajendra Uttamchand (1):
drm/xe/lrc: document sentinel and make CTX_TIMESTAMP read TOCTOU-safe

Heikki Krogerus (3):
i2c: designware: Global register definitions drm/xe/i2c: Fix the interrupt handling drm/xe/i2c: Keep the i2c controller always enabled

Jia Yao (3):
drm/xe/guc_ads: allocate UM queues in a separate BO drm/xe/guc_ads: allocate UM queues in VRAM on dGFX drm/xe/guc_ads: use uncached mapping for UM queue BO

Karthik Poosa (2):
drm/xe/hwmon: handle CRI+ power interval encoding drm/xe/hwmon: Enable package and vram temperatures for CRI

Linmao Li (2):
drm/xe/oa: Fix sync entry leak on OA config emit failure drm/xe/oa: Check managed mutex initialization errors

Lu Yao (1):
drm/xe/oa: Remove sysfs entry on idr_alloc failure in xe_oa_add_config_ioctl()

Mallesh Koujalagi (5):
drm: Add DRM_WEDGE_RECOVERY_COLD_RESET recovery method drm/doc: Document DRM_WEDGE_RECOVERY_COLD_RESET recovery method drm/xe: Handle PUNIT errors by requesting cold-reset recovery drm/xe/ras: Use fault-inject to trigger cold-reset wedge drm/xe/log: Add structured SIGID error logging infrastructure

Marcin Bernatowicz (1):
drm/xe/uc: Apply RCS/CCS yield policy to SR-IOV VFs

Matthew Brost (15):
Merge drm/drm-next into drm-xe-next
drm/xe: Fine grained page fault locking
drm/xe: Allow prefetch-only VM bind IOCTLs to use VM read lock drm/xe: Thread prefetch of SVM ranges
drm/xe: Use a single page-fault queue with multiple workers drm/xe: Add num_pf_work modparam
drm/xe: Engine class and instance into a u8
drm/xe: Track pagefault worker runtime
drm/xe: Chain page faults via queue-resident cache to avoid fault storms drm/xe: Add pagefault chaining stats
drm/xe: Add debugfs pagefault_info
drm/xe: batch CT pagefault acks with periodic flush
drm/xe: Track parallel page fault activity in GT stats drm/xe: Order ring writes before ring tail updates
Merge drm/drm-next into drm-xe-next

Michal Wajdeczko (37):
drm/xe/pf: Add _locked variant of the GGTT bulk config function drm/xe/pf: Add _locked variant of the contexts bulk config function drm/xe/pf: Add _locked variant of the doorbells bulk config function drm/xe: Use guard(spinlock_irqsave) in pagefault handler drm/xe: Remove redundant full pagefault queue check drm/xe: Introduce xe_any helpers
drm/xe/log: Introduce structured component/location identifiers drm/xe/log: Add component/location decorations to dmesg drm/xe/log: Add SIGID log helpers for severity
drm/xe/log: Add SIGID log helpers for location
drm/xe/log: Add SIGID log helpers for location & severity drm/xe/log: Add SIGID log helpers for components drm/xe/log: Add SIGID log helpers for component & severity drm/xe/log: Add SIGID log helpers for errno-only drm/xe/log: Index all SIGID printk messages
drm/xe/log: Add hardware error signatures
drm/xe/log: Extend components list with hardware items drm/xe/ras: Check RAS and LOG component definitions drm/xe/kunit: Setup driver data in the test device drm/xe/tests: Add Kunit tests for xe_log
drm/xe/tests: Add kunit tests for xe_any
drm/xe: Report 'probe blocked' status using SIGID
drm/xe: Report all probe errors using SIGID drm/xe/survivability: Report 'boot status' using SIGID drm/xe/survivability: Report sysfs failure in one place drm/xe/survivability: Report 'boot status' on sysfs failure drm/xe/survivability: Report 'Boot Mode enabled' status using SIGID drm/xe/survivability: Report 'Runtime Mode enabled' status using SIGID drm/xe: Report 'device wedged' errors using SIGID drm/xe/pcode: Report 'Mailbox failed' error using SIGID drm/xe/pcode: Report 'timeout, retrying' error using SIGID drm/xe/pcode: Report 'initialization timedout' error using SIGID drm/xe/guc: Report 'GuC mmio' errors using SIGID drm/xe/gt: Report 'reset failed' errors using SIGID drm/xe/gt: Report 'Fault response' pagefault error using SIGID drm/xe/gt: Report 'Queue full' pagefault error using SIGID drm/xe/pci: Report 'cannot re-enable' error using SIGID

Michał Grzelak (1):
drm/xe/pcode: match argument naming with PCODE_DATAx

Michał Winiarski (2):
drm/xe: Fix memory leak in exec_queue_set_hang_replay_state() drm/xe: Reject duplicated properties for EXEC_QUEUE_SET_PROPERTY

Niranjana Vishwanathapura (4):
drm/xe: split VF pause into prepare and revert phases drm/xe/multi_queue: handle CGP_SYNC wait timeout during VF recovery drm/xe/multi_queue: track and recover lost CGP updates across VF migration drm/xe/multi_queue: replay dynamic CGP updates lost during VF migration

Nitin Gote (3):
drm/xe/guc: rework exec queue teardown PM/unplug handling drm/xe: remove EXEC_QUEUE_FLAG_PERMANENT
drm/xe: don't WARN on kernel job timeout when device already wedged

Piotr Piórkowski (2):
drm/xe: Add dbg_ratelimited printk wrappers drm/xe/mert: Rate limit VF LMTT fault debug log

Raag Jadav (10):
drm/xe/ras: Validate sysctrl response drm/xe/ras: Fix boot-time ras error processing drm/xe/drm_ras: Move has_drm_ras check to drm_ras layer drm/xe: Fix xe_device_probe() failure drm/xe/pci_error: Allow debugging PCI errors drm/ras: Cancel and free message on get counter failure drm/ras: Introduce error threshold drm/xe/ras: Add support for error threshold drm/xe/drm_ras: Wire up error threshold callbacks drm/xe/sysctrl: Reuse xe_sysctrl_create_command()

Riana Tauro (2):
drm/drm_ras: Add drm_ras netlink error event
drm/xe/xe_ras: Report correctable/uncorrectable error events to userspace

Rodrigo Vivi (1):
MAINTAINERS: Add entries for drm_ras

Tangudu Tilak Tirumalesh (3):
drm/xe/ggtt: fault on unmapped GGTT for multi-queue platforms drm/xe/tlb_inval: add xe_tlb_inval_ggtt_full() GGTT invalidation helper drm/xe/ggtt: invalidate engine GGTT TLBs for multi-queue GTs

Umesh Nerlige Ramappa (1):
drm/xe/pcode: Use int instead of u32 for mailbox status

Varun Gupta (1):
drm/xe: Add debugfs knob to control GPGPU preemption granularity

Vinay Belgaumkar (3):
drm/xe: Use IBC v3 on PTL
drm/xe: Add debugfs for IA/GT bias drm/xe: Fix a bug in pc_adjust_freq_bounds()

 Documentation/gpu/drm-ras.rst                 |  39 ++
 Documentation/gpu/drm-uapi.rst                |  93 +++-
 Documentation/gpu/xe/index.rst                |   1 +
 Documentation/gpu/xe/xe_sigid.rst             |  14 +
 Documentation/netlink/specs/drm_ras.yaml      |  80 +++
 MAINTAINERS                                   |  13 +
 drivers/gpu/drm/drm_drv.c                     |   2 +
 drivers/gpu/drm/drm_ras.c                     | 278 +++++++++-
 drivers/gpu/drm/drm_ras_nl.c                  |  33 ++
 drivers/gpu/drm/drm_ras_nl.h                  |   8 +
 drivers/gpu/drm/xe/Makefile                   |   1 +
 drivers/gpu/drm/xe/abi/guc_actions_slpc_abi.h |   1 +
 drivers/gpu/drm/xe/abi/xe_log_abi.h           | 199 +++++++
 drivers/gpu/drm/xe/abi/xe_sigid_abi.h         | 172 +++++++
 drivers/gpu/drm/xe/display/xe_display_pcode.c |   4 +-
 drivers/gpu/drm/xe/regs/xe_gt_regs.h          |   6 +
 drivers/gpu/drm/xe/regs/xe_lrc_layout.h       |   2 +
 drivers/gpu/drm/xe/tests/Makefile             |   1 +
 drivers/gpu/drm/xe/tests/xe_any_kunit.c       | 213 ++++++++
 drivers/gpu/drm/xe/tests/xe_kunit_helpers.c   |   4 +
 drivers/gpu/drm/xe/tests/xe_log_kunit.c       | 553 ++++++++++++++++++++
 drivers/gpu/drm/xe/xe_any.h                   | 137 +++++
 drivers/gpu/drm/xe/xe_debugfs.c               |  15 +
 drivers/gpu/drm/xe/xe_debugfs.h               |   2 +
 drivers/gpu/drm/xe/xe_defaults.h              |   1 +
 drivers/gpu/drm/xe/xe_device.c                |  30 +-
 drivers/gpu/drm/xe/xe_device_types.h          |  23 +-
 drivers/gpu/drm/xe/xe_drm_ras.c               |  65 +++
 drivers/gpu/drm/xe/xe_drm_ras.h               |   3 +
 drivers/gpu/drm/xe/xe_exec_queue.c            |   6 +-
 drivers/gpu/drm/xe/xe_exec_queue_types.h      |  21 +-
 drivers/gpu/drm/xe/xe_ggtt.c                  |  74 ++-
 drivers/gpu/drm/xe/xe_gsc.c                   |   3 +-
 drivers/gpu/drm/xe/xe_gt.c                    |  13 +-
 drivers/gpu/drm/xe/xe_gt.h                    |  13 +
 drivers/gpu/drm/xe/xe_gt_debugfs.c            | 146 ++++++
 drivers/gpu/drm/xe/xe_gt_idle.c               |  45 +-
 drivers/gpu/drm/xe/xe_gt_printk.h             |   3 +
 drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c    | 191 ++++---
 drivers/gpu/drm/xe/xe_gt_sriov_pf_config.h    |   6 +
 drivers/gpu/drm/xe/xe_gt_sriov_printk.h       |   3 +
 drivers/gpu/drm/xe/xe_gt_stats.c              |   7 +
 drivers/gpu/drm/xe/xe_gt_stats_types.h        |  22 +
 drivers/gpu/drm/xe/xe_gt_types.h              |  29 ++
 drivers/gpu/drm/xe/xe_guc.c                   |  18 +-
 drivers/gpu/drm/xe/xe_guc_ct.c                |  95 +++-
 drivers/gpu/drm/xe/xe_guc_ct.h                |  38 +-
 drivers/gpu/drm/xe/xe_guc_exec_queue_types.h  |  32 +-
 drivers/gpu/drm/xe/xe_guc_pagefault.c         |  39 +-
 drivers/gpu/drm/xe/xe_guc_pc.c                |  15 +-
 drivers/gpu/drm/xe/xe_guc_submit.c            | 267 +++++++---
 drivers/gpu/drm/xe/xe_guc_tlb_inval.c         |  29 ++
 drivers/gpu/drm/xe/xe_guc_types.h             |   6 +
 drivers/gpu/drm/xe/xe_hwmon.c                 |  88 ++--
 drivers/gpu/drm/xe/xe_i2c.c                   |  22 +-
 drivers/gpu/drm/xe/xe_i2c.h                   |   1 +
 drivers/gpu/drm/xe/xe_log.c                   | 235 +++++++++
 drivers/gpu/drm/xe/xe_log.h                   | 194 +++++++
 drivers/gpu/drm/xe/xe_lrc.c                   |  33 ++
 drivers/gpu/drm/xe/xe_mert.c                  |   2 +-
 drivers/gpu/drm/xe/xe_migrate.c               |   2 -
 drivers/gpu/drm/xe/xe_module.c                |   4 +
 drivers/gpu/drm/xe/xe_module.h                |   1 +
 drivers/gpu/drm/xe/xe_oa.c                    |  13 +-
 drivers/gpu/drm/xe/xe_pagefault.c             | 716 +++++++++++++++++++++-----
 drivers/gpu/drm/xe/xe_pagefault.h             |  74 +++
 drivers/gpu/drm/xe/xe_pagefault_types.h       | 114 +++-
 drivers/gpu/drm/xe/xe_pci.c                   |  32 +-
 drivers/gpu/drm/xe/xe_pci_error.c             |  13 +-
 drivers/gpu/drm/xe/xe_pcode.c                 |  27 +-
 drivers/gpu/drm/xe/xe_pcode.h                 |   2 +-
 drivers/gpu/drm/xe/xe_pm.c                    |   5 +
 drivers/gpu/drm/xe/xe_printk.h                |   3 +
 drivers/gpu/drm/xe/xe_pt.c                    |   6 +
 drivers/gpu/drm/xe/xe_pxp_submit.c            |   5 +-
 drivers/gpu/drm/xe/xe_ras.c                   | 236 ++++++++-
 drivers/gpu/drm/xe/xe_ras.h                   |   2 +
 drivers/gpu/drm/xe/xe_ras_types.h             |  50 ++
 drivers/gpu/drm/xe/xe_sriov_printk.h          |   3 +
 drivers/gpu/drm/xe/xe_sriov_vf_ccs.c          |   1 -
 drivers/gpu/drm/xe/xe_survivability_mode.c    |  85 +--
 drivers/gpu/drm/xe/xe_svm.c                   | 146 ++++--
 drivers/gpu/drm/xe/xe_svm.h                   |  59 ++-
 drivers/gpu/drm/xe/xe_sysctrl_event.c         |  28 +-
 drivers/gpu/drm/xe/xe_sysctrl_mailbox_types.h |   4 +
 drivers/gpu/drm/xe/xe_tile_printk.h           |   3 +
 drivers/gpu/drm/xe/xe_tile_sriov_printk.h     |   3 +
 drivers/gpu/drm/xe/xe_tlb_inval.c             |  42 +-
 drivers/gpu/drm/xe/xe_tlb_inval.h             |   1 +
 drivers/gpu/drm/xe/xe_tlb_inval_types.h       |  10 +
 drivers/gpu/drm/xe/xe_userptr.c               |  19 +-
 drivers/gpu/drm/xe/xe_vm.c                    | 301 ++++++++---
 drivers/gpu/drm/xe/xe_vm_types.h              |  42 +-
 drivers/gpu/drm/xe/xe_wa.c                    |   4 +-
 include/drm/drm_device.h                      |   1 +
 include/drm/drm_ras.h                         |  34 ++
 include/uapi/drm/drm_ras.h                    |  18 +
 97 files changed, 5126 insertions(+), 672 deletions(-)
 create mode 100644 Documentation/gpu/xe/xe_sigid.rst
 create mode 100644 drivers/gpu/drm/xe/abi/xe_log_abi.h
 create mode 100644 drivers/gpu/drm/xe/abi/xe_sigid_abi.h
 create mode 100644 drivers/gpu/drm/xe/tests/xe_any_kunit.c
 create mode 100644 drivers/gpu/drm/xe/tests/xe_log_kunit.c
 create mode 100644 drivers/gpu/drm/xe/xe_any.h
 create mode 100644 drivers/gpu/drm/xe/xe_log.c
 create mode 100644 drivers/gpu/drm/xe/xe_log.h