✗ CI.checkpatch: warning for drm/xe: xe-only patches from the multi-device GPUSVM series (rev5)

Patchwork patchwork at emeril.freedesktop.org
Mon Mar 24 17:01:03 UTC 2025


== Series Details ==

Series: drm/xe: xe-only patches from the multi-device GPUSVM series (rev5)
URL   : https://patchwork.freedesktop.org/series/146383/
State : warning

== Summary ==

+ KERNEL=/kernel
+ git clone https://gitlab.freedesktop.org/drm/maintainer-tools mt
Cloning into 'mt'...
warning: redirecting to https://gitlab.freedesktop.org/drm/maintainer-tools.git/
+ git -C mt rev-list -n1 origin/master
cbb4e4a079d89106c2736adc3c7de6f9dc56da07
+ cd /kernel
+ git config --global --add safe.directory /kernel
+ git log -n1
commit ca9d9dda4cc67b209d0b48f688a05f8d9af8fa14
Author: Thomas Hellström <thomas.hellstrom at linux.intel.com>
Date:   Mon Mar 24 17:55:00 2025 +0100

    drm/xe: Make the PT code handle placement per PTE rather than per vma / range
    
    With SVM, ranges forwarded to the PT code for binding can, mostly
    due to races when migrating, point to both VRAM and system / foreign
    device memory. Make the PT code able to handle that by checking,
    for each PTE set up, whether it points to local VRAM or to system
    memory.
    
    v2:
    - Fix system memory GPU atomic access.
    v3:
    - Avoid the UAPI change. It needs more thought.
    
    Signed-off-by: Thomas Hellström <thomas.hellstrom at linux.intel.com>
    Reviewed-by: Matthew Brost <matthew.brost at intel.com> #v2
+ /mt/dim checkpatch 9be2a7099019ef52d17cbc2b3e6ba15cd638ec2c drm-intel
58f45a4a5a74 drm/xe: Introduce CONFIG_DRM_XE_GPUSVM
-:16: WARNING:COMMIT_LOG_LONG_LINE: Prefer a maximum 75 chars per line (possible unwrapped commit description?)
#16: 
- Fixes for compilation errors on 32-bit. This changes the Kconfig logic a bit.

-:37: WARNING:CONFIG_DESCRIPTION: please write a help paragraph that fully describes the config symbol
#37: FILE: drivers/gpu/drm/xe/Kconfig:76:
+config DRM_XE_GPUSVM
+	bool "Enable CPU to GPU address mirroring"
+	depends on DRM_XE
+	depends on !UML
+	depends on DEVICE_PRIVATE
+	default y
+	select DRM_GPUSVM
+	help
+	  Enable this option if you want support for CPU to GPU address
+	  mirroring.
+
+	  If in doubut say "Y".
+

total: 0 errors, 2 warnings, 0 checks, 261 lines checked
3721282317e6 drm/xe/svm: Fix a potential bo UAF
e668daf9063f drm/xe/bo: Add a bo remove callback
de4769af7ae1 drm/xe/migrate: Allow xe_migrate_vram() also on non-pagefault capable devices
ca9d9dda4cc6 drm/xe: Make the PT code handle placement per PTE rather than per vma / range




More information about the Intel-xe mailing list