✗ CI.checkpatch: warning for drm/xe: xe-only patches from the multi-device GPUSVM series (rev2)
Patchwork
patchwork at emeril.freedesktop.org
Wed Mar 19 10:50:23 UTC 2025
== Series Details ==
Series: drm/xe: xe-only patches from the multi-device GPUSVM series (rev2)
URL : https://patchwork.freedesktop.org/series/146383/
State : warning
== Summary ==
+ KERNEL=/kernel
+ git clone https://github.com/intel-lgci-fdo-gitlab-mirror/drm.maintainer-tools mt
Cloning into 'mt'...
+ git -C mt rev-list -n1 origin/master
cbb4e4a079d89106c2736adc3c7de6f9dc56da07
+ cd /kernel
+ git config --global --add safe.directory /kernel
+ git log -n1
commit fed6aa447fa4747181a9249d0af27c13691df259
Author: Thomas Hellström <thomas.hellstrom at linux.intel.com>
Date: Mon Mar 17 11:41:32 2025 +0100
drm/xe/uapi, 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.
The UAPI is changed implicitly in that before this patch,
global atomics required a bo with VRAM/System placements. With
this patch that is changed to requiring LR mode, and
if the required placement is not available upon GPU atomic access
pagefault, an error will be generated and the VM banned.
Signed-off-by: Thomas Hellström <thomas.hellstrom at linux.intel.com>
+ /mt/dim checkpatch a958e31a81b3267201c85b6f171419586afa792c drm-intel
869f4523fed0 drm/xe: Introduce CONFIG_DRM_XE_GPUSVM
-:34: WARNING:CONFIG_DESCRIPTION: please write a help paragraph that fully describes the config symbol
#34: FILE: drivers/gpu/drm/xe/Kconfig:77:
+config DRM_XE_GPUSVM
+ bool "Enable CPU to GPU address mirroring"
+ depends on DRM_XE
+ depends on !UML
+ default y
+ select DEVICE_PRIVATE
+ help
+ Enable this option if you want support for CPU to GPU address
+ mirroring.
+
+ If in doubut say "Y".
+
total: 0 errors, 1 warnings, 0 checks, 260 lines checked
5e2edb53d36d drm/xe/svm: Fix a potential bo UAF
d29924df4c52 drm/xe/bo: Add a bo remove callback
f0e7c92d558b drm/xe/migrate: Allow xe_migrate_vram() also on non-pagefault capable devices
fed6aa447fa4 drm/xe/uapi, drm/xe: Make the PT code handle placement per PTE rather than per vma / range
More information about the Intel-xe
mailing list