Skip to content

drm/xe: Fix unprotected rebind_list accesses

Thomas Hellström intel-xe 3 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest2 patches 0 repliesNew
  2. v22 patches 0 repliesSuperseded
  3. v12 patches 5 repliesSuperseded

Changes in v3 from the cover letter

- Introduce as fixup patches.

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2fixup! drm/xe: Introduce a new DRM driver for Intel GPUsdrivers/gpu/drm/xe/xe_vm.c+7 -70 replies
2/2fixup! drm/xe: Introduce a new DRM driver for Intel GPUsdrivers/gpu/drm/xe/xe_vm.c+3 -00 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchMatthew Brost
1/2R-b
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [Intel-xe] [PATCH v3 0/2] drm/xe: Fix unprotected rebind_list accesses

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(-)
Signature · 1 line
2.39.2