[Intel-xe] ✓ CI.checkpatch: success for drm/xe: Assorted memory-management fixes

Patchwork patchwork at emeril.freedesktop.org
Wed Nov 22 13:32:56 UTC 2023


== Series Details ==

Series: drm/xe: Assorted memory-management fixes
URL   : https://patchwork.freedesktop.org/series/126753/
State : success

== 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
63c2b6b160bca2df6efc7bc4cea6f442097d7854
+ cd /kernel
+ git config --global --add safe.directory /kernel
+ git log -n1
commit 4889e0b529c679421a349525f170d3e8e912d8a0
Author: Thomas Hellström <thomas.hellstrom at linux.intel.com>
Date:   Wed Nov 22 12:03:59 2023 +0100

    drm/xe/vm: Fix ASID XA usage
    
    xa_alloc_cyclic() returns 1 on successful allocation, if wrapping occurs,
    but the code incorrectly treats that as an error. Fix that.
    Also, xa_alloc_cyclic() requires xa_init_flags(..., XA_FLAGS_ALLOC), so
    fix that, and assuming we don't want a zero ASID, instead of using
    XA_FLAGS_ALLOC1, adjust the xa limits at alloc_cyclic time.
    
    Suggested-by: Ohad Sharabi <osharabi at habana.ai>
    Link: https://gitlab.freedesktop.org/drm/xe/kernel/-/issues/946
    Signed-off-by: Thomas Hellström <thomas.hellstrom at linux.intel.com>
    Reviewed-by: Matthew Auld <matthew.auld at intel.com>
+ /mt/dim checkpatch 89e2bb1e155242dd9aa46bc90e563e71c5f498b0 drm-intel
0f9473e81 drm/xe: Ensure that we don't access the placements array out-of-bounds
febe25edd drm/xe/bo: Rename xe_bo_get_sg() to xe_bo_sg()
c70faa292 drm/xe/bo: Remove leftover trace_printk()
4889e0b52 drm/xe/vm: Fix ASID XA usage




More information about the Intel-xe mailing list