✓ CI.checkpatch: success for drm/xe: Invalidate userptr VMA on page pin fault (rev4)
Patchwork
patchwork at emeril.freedesktop.org
Tue Mar 12 18:43:47 UTC 2024
== Series Details ==
Series: drm/xe: Invalidate userptr VMA on page pin fault (rev4)
URL : https://patchwork.freedesktop.org/series/130935/
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
a9eb1ac8298ef9f9146567c29fa762d8e9efa1ef
+ cd /kernel
+ git config --global --add safe.directory /kernel
+ git log -n1
commit 487248d5a9e21f6a7122a246db5f146aac0313b7
Author: Matthew Brost <matthew.brost at intel.com>
Date: Tue Mar 12 11:39:07 2024 -0700
drm/xe: Invalidate userptr VMA on page pin fault
Rather than return an error to the user or ban the VM when userptr VMA
page pin fails with -EFAULT, invalidate VMA mappings. This supports the
UMD use case of freeing userptr while still having bindings.
Now that non-faulting VMs can invalidate VMAs, drop the usm prefix for
the tile_invalidated member.
v2:
- Fix build error (CI)
v3:
- Don't invalidate VMA if in fault mode, rather kill VM (Thomas)
- Update commit message with tile_invalidated name chagne (Thomas)
- Wait VM bookkeep slots with VM resv lock (Thomas)
v4:
- Move list_del_init(&userptr.repin_link) after error check (Thomas)
- Assert not in fault mode (Matthew)
Signed-off-by: Matthew Brost <matthew.brost at intel.com>
+ /mt/dim checkpatch 1dfbf3ced62236dd318c701e3f21f5a33c226d0d drm-intel
487248d5a9e2 drm/xe: Invalidate userptr VMA on page pin fault
More information about the Intel-xe
mailing list