Intel-XE Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Intel-xe] [PATCH v3 0/2] drm/xe: Fix unprotected rebind_list accesses
@ 2023-05-16 14:47 Thomas Hellström
  2023-05-16 14:47 ` [Intel-xe] [PATCH v3 1/2] fixup! drm/xe: Introduce a new DRM driver for Intel GPUs Thomas Hellström
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: Thomas Hellström @ 2023-05-16 14:47 UTC (permalink / raw)
  To: intel-xe

Each VM has two rebind lists, one protected by the VM resv, the other
one protected essentially by the VM notifier.list_lock. This series
intends to fix two points of illegal access.

Patch 1 fixes an access of VM rebind_lists' link without the VM resv held.
Patch 2 fixes an issue where the VMA may not be removed from the
VM notifier.rebind_list on VMA destruction.

v2:
- Remove a code comment. (Matthew Brost)

v3:
- Introduce as fixup patches.

Thomas Hellström (2):
  fixup! drm/xe: Introduce a new DRM driver for Intel GPUs
  fixup! drm/xe: Introduce a new DRM driver for Intel GPUs

 drivers/gpu/drm/xe/xe_vm.c | 17 ++++++++++-------
 1 file changed, 10 insertions(+), 7 deletions(-)

-- 
2.39.2


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2023-05-16 15:13 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-05-16 14:47 [Intel-xe] [PATCH v3 0/2] drm/xe: Fix unprotected rebind_list accesses Thomas Hellström
2023-05-16 14:47 ` [Intel-xe] [PATCH v3 1/2] fixup! drm/xe: Introduce a new DRM driver for Intel GPUs Thomas Hellström
2023-05-16 14:47 ` [Intel-xe] [PATCH v3 2/2] " Thomas Hellström
2023-05-16 14:50 ` [Intel-xe] ✓ CI.Patch_applied: success for drm/xe: Fix unprotected rebind_list accesses Patchwork
2023-05-16 14:51 ` [Intel-xe] ✓ CI.KUnit: " Patchwork
2023-05-16 14:55 ` [Intel-xe] ✓ CI.Build: " Patchwork
2023-05-16 15:13 ` [Intel-xe] ○ CI.BAT: info " Patchwork

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox