[Intel-xe] ✗ CI.checkpatch: warning for drm/xe: Fix lockdep warning from xe_vm_madvise

Patchwork patchwork at emeril.freedesktop.org
Thu Jul 13 02:03:34 UTC 2023


== Series Details ==

Series: drm/xe: Fix lockdep warning from xe_vm_madvise
URL   : https://patchwork.freedesktop.org/series/120645/
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
c7d32770e3cd31d9fc134ce41f329b10aa33ee15
+ cd /kernel
+ git config --global --add safe.directory /kernel
+ git log -n1
commit 329721780c1322703f7ab9a137ab7fbeb9451a6a
Author: Brian Welty <brian.welty at intel.com>
Date:   Wed Jul 12 19:01:05 2023 -0700

    drm/xe: Fix lockdep warning from xe_vm_madvise
    
    We need to hold vm->lock before the xe_vm_is_closed_or_banned().
    
    Else we get this splat:
    [  802.555227] ------------[ cut here ]------------
    [  802.555234] WARNING: CPU: 33 PID: 3122 at drivers/gpu/drm/xe/xe_vm.h:60 xe_vm_madvise_ioctl+0x2de/0x440 [xe]
    [  802.555515] CPU: 33 PID: 3122 Comm: xe_exec_fault_m Tainted: G        W          6.4.0-xe+ #16
    ...
    [  802.555709] Call Trace:
    [  802.555714]  <TASK>
    [  802.555720]  ? __warn+0x81/0x170
    [  802.555737]  ? xe_vm_madvise_ioctl+0x2de/0x440 [xe]
    
    Fixes: 627d78b9d038 ("drm/xe: Ban a VM if rebind worker hits an error")
    Signed-off-by: Brian Welty <brian.welty at intel.com>
+ /mt/dim checkpatch d39e49e2ad386bf59f585a05ab659563e0472314 drm-intel
329721780 drm/xe: Fix lockdep warning from xe_vm_madvise
-:18: WARNING:UNKNOWN_COMMIT_ID: Unknown commit id '627d78b9d038', maybe rebased or not pulled?
#18: 
Fixes: 627d78b9d038 ("drm/xe: Ban a VM if rebind worker hits an error")

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




More information about the Intel-xe mailing list