[Intel-xe] ✗ CI.checkpatch: warning for drm/xe: skip rebind_list if vma destroyed

Patchwork patchwork at emeril.freedesktop.org
Tue Aug 8 09:45:16 UTC 2023


== Series Details ==

Series: drm/xe: skip rebind_list if vma destroyed
URL   : https://patchwork.freedesktop.org/series/122146/
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
e700ea2f248a75138759bcb443affeef4a2d1991
+ cd /kernel
+ git config --global --add safe.directory /kernel
+ git log -n1
commit 7be12219f212781677c5bb3217f55a075f0d3614
Author: Matthew Auld <matthew.auld at intel.com>
Date:   Tue Aug 8 10:12:09 2023 +0100

    drm/xe: skip rebind_list if vma destroyed
    
    If we are closing a vm, mark each vma as XE_VMA_DESTROYED and skip
    touching the rebind_list if this is seen on the eviction path. That way
    we can safely drop the vm dma-resv lock on the close path without
    needing to worry about racing with the eviction path trying to add stuff
    to the rebind_list which can corrupt our contended list, since the
    destroy and rebind links are the same list entry underneath.
    
    References: https://gitlab.freedesktop.org/drm/xe/kernel/-/issues/514
    Signed-off-by: Matthew Auld <matthew.auld at intel.com>
    Cc: Matthew Brost <matthew.brost at intel.com>
+ /mt/dim checkpatch d404117f8ff659d3f08a81ec60379fbafc084efb drm-intel
/mt/dim: line 50: /root/.dimrc: No such file or directory




More information about the Intel-xe mailing list