✗ CI.checkpatch: warning for drm/xe/vsec: Allow for kernel context access

Patchwork patchwork at emeril.freedesktop.org
Wed May 7 19:12:44 UTC 2025


== Series Details ==

Series: drm/xe/vsec: Allow for kernel context access
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 b4d2631e6ab267d68b0d68106ae38f4f5d7552bd
Author: Michael J. Ruhl <mjruhl at habana.ai>
Date:   Wed May 7 14:39:01 2025 -0400

    drm/xe/vsec: Allow for kernel context access
    
    The PMT driver allows kernel level access to device data.
    Because of this, the mutex lock turns out to be a poor
    lock.
    
    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 <mjruhl at habana.ai>
+ /mt/dim checkpatch 12ed58de6491fc48168f29de1c0fa9e9917b858d drm-intel
b4d2631e6ab2 drm/xe/vsec: Allow for kernel context access
-:48: WARNING:USE_SPINLOCK_T: struct spinlock should be spinlock_t
#48: FILE: drivers/gpu/drm/xe/xe_device_types.h:530:
+		struct spinlock lock;

total: 0 errors, 1 warnings, 0 checks, 41 lines checked




More information about the Intel-xe mailing list