✗ CI.checkpatch: warning for drm/xe/vsec: Allow for kernel context access (rev2)
Patchwork
patchwork at emeril.freedesktop.org
Wed May 7 20:33:06 UTC 2025
== Series Details ==
Series: drm/xe/vsec: Allow for kernel context access (rev2)
URL : https://patchwork.freedesktop.org/series/148726/
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
202708c00696422fd217223bb679a353a5936e23
+ cd /kernel
+ git config --global --add safe.directory /kernel
+ git log -n1
commit b628870fe228d9656fcc1c28dcfd2c00ab19f8ad
Author: Michael J. Ruhl <michael.j.ruhl at intel.com>
Date: Wed May 7 15:37:40 2025 -0400
drm/xe/vsec: Allow for kernel context access
The PMT driver API allows kernel level access to device
data. Because of this, the mutex lock use by the Xe copy
callback function turns out to be a poor choice.
Change the mutex to a spinlock to avoid sleeping when it
isn't allowed.
Fixes: 0c45e76fcc62 ("drm/xe/vsec: Support BMG devices")
Signed-off-by: Michael J. Ruhl <michael.j.ruhl at intel.com>
+ /mt/dim checkpatch ca0305cadc2d34c8887b891b96226af17571b2a3 drm-intel
b628870fe228 drm/xe/vsec: Allow for kernel context access
-:48: CHECK:UNCOMMENTED_DEFINITION: spinlock_t definition without comment
#48: FILE: drivers/gpu/drm/xe/xe_device_types.h:530:
+ spinlock_t lock;
total: 0 errors, 0 warnings, 1 checks, 41 lines checked
More information about the Intel-xe
mailing list