[Intel-xe] ✓ CI.checkpatch: success for drm/xe: Assorted memory-management fixes
Patchwork
patchwork at emeril.freedesktop.org
Thu Nov 23 10:10:11 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 e6da4180b8ae330d1130c0ac61370c34c0493946
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>
Reviewed-by: Ohad Sharabi <osharavi at habana.ai>
+ /mt/dim checkpatch 59f2e73469cace9c78aab7506284ae446d57b8bc drm-intel
0d1d4cd30 drm/xe: Ensure that we don't access the placements array out-of-bounds
3bfa1285c drm/xe/bo: Rename xe_bo_get_sg() to xe_bo_sg()
abca1c9ff drm/xe/bo: Remove leftover trace_printk()
e6da4180b drm/xe/vm: Fix ASID XA usage
More information about the Intel-xe
mailing list