[PULL] drm-xe-fixes

Lucas De Marchi
2025-04-10T21:06:51Z

Here are the fixes for drm-xe targeting 6.15-rc2.

drm-xe-fixes-2025-04-10:
Driver Changes:
- Add another BMG PCI ID
- Fix UAFs on migration paths
- Fix shift-out-of-bounds access on TLB invalidation
- Ensure ccs_mode is correctly set on gt reset
- Extend some HW workarounds to Xe3
- Fix PM runtime get/put on sysfs files
- Fix u64 division on 32b
- Fix flickering due to missing L3 invalidations
- Fix missing error code return

thanks,
Lucas De Marchi

The following changes since commit 0af2f6be1b4281385b618cb86ad946eded089ac8:

Linux 6.15-rc1 (2025-04-06 13:11:33 -0700)

are available in the Git repository at:

https://gitlab.freedesktop.org/drm/xe/kernel.git tags/drm-xe-fixes-2025-04-10

for you to fetch changes up to 88ecb66b9956a14577d513a6c8c28bb2e7989703:

drm/xe: Restore EIO errno return when GuC PC start fails (2025-04-07 14:00:27 -0700)

----------------------------------------------------------------
Driver Changes:
- Add another BMG PCI ID
- Fix UAFs on migration paths
- Fix shift-out-of-bounds access on TLB invalidation
- Ensure ccs_mode is correctly set on gt reset
- Extend some HW workarounds to Xe3
- Fix PM runtime get/put on sysfs files
- Fix u64 division on 32b
- Fix flickering due to missing L3 invalidations
- Fix missing error code return

----------------------------------------------------------------
Arnd Bergmann (1):
drm/xe: avoid plain 64-bit division

Julia Filipchuk (1):
drm/xe/xe3lpg: Apply Wa_14022293748, Wa_22019794406

Kenneth Graunke (1):
drm/xe: Invalidate L3 read-only cachelines for geometry streams too

Matt Roper (1):
drm/xe/bmg: Add one additional PCI ID

Matthew Brost (1):
drm/xe: Use local fence in error path of xe_migrate_clear

Niranjana Vishwanathapura (1):
drm/xe: Ensure fixed_slice_mode gets set after ccs_mode change

Rodrigo Vivi (1):
drm/xe: Restore EIO errno return when GuC PC start fails

Tejas Upadhyay (1):
drm/xe/hw_engine: define sysfs_ops on all directories

Thomas Hellström (2):
drm/xe/svm: Fix a potential bo UAF
drm/xe: Fix an out-of-bounds shift when invalidating TLB

drivers/gpu/drm/xe/instructions/xe_gpu_commands.h | 1 +
drivers/gpu/drm/xe/xe_gt_tlb_invalidation.c | 12 ++-
drivers/gpu/drm/xe/xe_guc_pc.c | 1 +
drivers/gpu/drm/xe/xe_hw_engine.c | 12 +--
drivers/gpu/drm/xe/xe_hw_engine_class_sysfs.c | 108 +++++++++++-----------
drivers/gpu/drm/xe/xe_migrate.c | 6 +-
drivers/gpu/drm/xe/xe_ring_ops.c | 13 ++-
drivers/gpu/drm/xe/xe_svm.c | 7 +-
drivers/gpu/drm/xe/xe_wa_oob.rules | 2 +
include/drm/intel/pciids.h | 1 +
10 files changed, 90 insertions(+), 73 deletions(-)