✓ CI.checkpatch: success for drm/xe: Fix fault mode invalidation with unbind
Patchwork
patchwork at emeril.freedesktop.org
Tue Feb 25 15:29:21 UTC 2025
== Series Details ==
Series: drm/xe: Fix fault mode invalidation with unbind
URL : https://patchwork.freedesktop.org/series/145409/
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
22f9cda3436b4fe965b5c5f31d2f2c1bcb483189
+ cd /kernel
+ git config --global --add safe.directory /kernel
+ git log -n1
commit d5855f236a08803a83e0c06a5c3f7d1ba81472b1
Author: Thomas Hellström <thomas.hellstrom at linux.intel.com>
Date: Tue Feb 25 14:44:26 2025 +0100
drm/xe: Fix fault mode invalidation with unbind
Fix fault mode invalidation racing with unbind leading to the
PTE zapping potentially traversing an invalid page-table tree.
Do this by holding the notifier lock across PTE zapping. This
might transfer any contention waiting on the notifier seqlock
read side to the notifier lock read side, but that shouldn't be
a major problem.
At the same time get rid of the open-coded invalidation in the bind
code by relying on the notifier even when the vma bind is not
yet committed.
Finally let userptr invalidation injections during binding
unconditionally return -EAGAIN.
Signed-off-by: Thomas Hellström <thomas.hellstrom at linux.intel.com>
+ /mt/dim checkpatch c7988865b658d56bcfaac76b7d72cc59435565eb drm-intel
d5855f236a08 drm/xe: Fix fault mode invalidation with unbind
More information about the Intel-xe
mailing list