[PULL] drm-xe-fixes

Rodrigo Vivi
2025-08-14T16:17:48Z

Here goes our first round for 6.17 fixes.

The SRIOV setting for VF LMEM BAR size is critical and will cause
trouble for people using SRIOV if not there. But we couldn't send
it earlier because the dependency on PCI patches that just landed
in the last merge-window:
https://lore.kernel.org/intel-xe/20250702093522.518099-1-michal.winiarski@intel.com/

I hope it is okay.

Other than that, there's a series of xe_migrate_access_memory fixes,
a xe_bo_validate slowness fix targeting stable (v6.15+) and an hwmon
max cap fix.

Thanks,
Rodrigo.

drm-xe-fixes-2025-08-14:
- Some more xe_migrate_access_memory fixes (Auld)
- Defer buffer object shrinker write-backs and GPU waits (Thomas)
- HWMON fix for clamping limits (Karthik)
- SRIOV-PF: Set VF LMEM BAR size (Michal)
The following changes since commit 8f5ae30d69d7543eee0d70083daf4de8fe15d585:

Linux 6.17-rc1 (2025-08-10 19:41:16 +0300)

are available in the Git repository at:

https://gitlab.freedesktop.org/drm/xe/kernel.git tags/drm-xe-fixes-2025-08-14

for you to fetch changes up to 94eae6ee4c2df2031bca586405e9ec36e0b9ccf8:

drm/xe/pf: Set VF LMEM BAR size (2025-08-14 10:30:53 -0400)

----------------------------------------------------------------
- Some more xe_migrate_access_memory fixes (Auld)
- Defer buffer object shrinker write-backs and GPU waits (Thomas)
- HWMON fix for clamping limits (Karthik)
- SRIOV-PF: Set VF LMEM BAR size (Michal)

----------------------------------------------------------------
Karthik Poosa (1):
drm/xe/hwmon: Add SW clamp for power limits writes

Matthew Auld (3):
drm/xe/migrate: prevent infinite recursion
drm/xe/migrate: don't overflow max copy size
drm/xe/migrate: prevent potential UAF

Michał Winiarski (1):
drm/xe/pf: Set VF LMEM BAR size

Thomas Hellström (1):
drm/xe: Defer buffer object shrinker write-backs and GPU waits

drivers/gpu/drm/xe/regs/xe_bars.h | 1 +
drivers/gpu/drm/xe/xe_hwmon.c | 29 ++++++++++++++++++++++
drivers/gpu/drm/xe/xe_migrate.c | 42 ++++++++++++++++++++------------
drivers/gpu/drm/xe/xe_pci_sriov.c | 22 +++++++++++++++++
drivers/gpu/drm/xe/xe_shrinker.c | 51 ++++++++++++++++++++++++++++++++++++---
5 files changed, 126 insertions(+), 19 deletions(-)