aboutsummaryrefslogtreecommitdiffstats
path: root/net/switchdev/switchdev.c
diff options
context:
space:
mode:
authorThomas Hellström <[email protected]>2025-02-28 07:30:55 +0000
committerRodrigo Vivi <[email protected]>2025-03-05 19:24:48 +0000
commite775e2a060d99180edc5366fb9f4299d0f07b66c (patch)
treefafd14c590f7f55db6947a3d46f6330f6f49038b /net/switchdev/switchdev.c
parentdrm/xe: Fix GT "for each engine" workarounds (diff)
downloadkernel-e775e2a060d99180edc5366fb9f4299d0f07b66c.tar.gz
kernel-e775e2a060d99180edc5366fb9f4299d0f07b66c.zip
drm/xe/vm: Validate userptr during gpu vma prefetching
If a userptr vma subject to prefetching was already invalidated or invalidated during the prefetch operation, the operation would repeatedly return -EAGAIN which would typically cause an infinite loop. Validate the userptr to ensure this doesn't happen. v2: - Don't fallthrough from UNMAP to PREFETCH (Matthew Brost) Fixes: 5bd24e78829a ("drm/xe/vm: Subclass userptr vmas") Fixes: 617eebb9c480 ("drm/xe: Fix array of binds") Cc: Matthew Brost <[email protected]> Cc: <[email protected]> # v6.9+ Suggested-by: Matthew Brost <[email protected]> Signed-off-by: Thomas Hellström <[email protected]> Reviewed-by: Matthew Brost <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected] (cherry picked from commit 03c346d4d0d85d210d549d43c8cfb3dfb7f20e0a) Signed-off-by: Rodrigo Vivi <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions