Skip to content

drm/xe: Assorted memory-management fixes

Thomas Hellström intel-xe 4 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest4 patches 0 repliesNew
  2. v34 patches 2 repliesSuperseded
  3. v24 patches 2 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v14 patches10 repliesSuperseded

v2 from the cover letter

- Address a review comment in patch 1 (Matthew Auld)
- Add extra asid allocation debugging on CONFIG_DRM_XE_DEBUG v3:
- Stricter return value checking for xa_alloc_cyclic() in patch 4. v4:
- Actually implement the change in v3 (Matthew Auld)

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4drm/xe: Ensure that we don't access the placements array out-of-boundsdrivers/gpu/drm/xe/xe_bo.c+22 -170 replies
2/4drm/xe/bo: Rename xe_bo_get_sg() to xe_bo_sg()drivers/gpu/drm/xe/tests/xe_migrate.c drivers/gpu/drm/xe/xe_bo.c drivers/gpu/drm/xe/xe_bo.h +2 more+9 -90 replies
3/4drm/xe/bo: Remove leftover trace_printk()drivers/gpu/drm/xe/xe_bo.c+0 -10 replies
4/4drm/xe/vm: Fix ASID XA usagedrivers/gpu/drm/xe/xe_device.c drivers/gpu/drm/xe/xe_vm.c+17 -30 replies

Reviews trailers per patch

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

PatchMatthew AuldOhad Sharabi
1/4R-b R-b
2/4R-b R-b
3/4R-b R-b
4/4R-b R-b

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

Read the v4 thread

Cover letter [Intel-xe] [PATCH v4 0/4] drm/xe: Assorted memory-management fixes

The patch series addresses items 1, 2, 3, 6 and 7, in the from

https://gitlab.freedesktop.org/drm/xe/kernel/-/issues/946

v2:
- Address a review comment in patch 1 (Matthew Auld)
- Add extra asid allocation debugging on CONFIG_DRM_XE_DEBUG v3:
- Stricter return value checking for xa_alloc_cyclic() in patch 4. v4:
- Actually implement the change in v3 (Matthew Auld)

Cc Ohad Sharabi <[email protected]>

Thomas Hellström (4):
drm/xe: Ensure that we don't access the placements array out-of-bounds drm/xe/bo: Rename xe_bo_get_sg() to xe_bo_sg()
drm/xe/bo: Remove leftover trace_printk()
drm/xe/vm: Fix ASID XA usage

 drivers/gpu/drm/xe/tests/xe_migrate.c |  2 +-
 drivers/gpu/drm/xe/xe_bo.c            | 19 ++++++++++++-------
 drivers/gpu/drm/xe/xe_bo.h            |  2 +-
 drivers/gpu/drm/xe/xe_device.c        |  2 +-
 drivers/gpu/drm/xe/xe_migrate.c       |  8 ++++----
 drivers/gpu/drm/xe/xe_pt.c            |  2 +-
 drivers/gpu/drm/xe/xe_vm.c            |  5 +++--
 7 files changed, 23 insertions(+), 17 deletions(-)
Signature · 41 lines
2.41.0



Thomas Hellström (4):
  drm/xe: Ensure that we don't access the placements array out-of-bounds
  drm/xe/bo: Rename xe_bo_get_sg() to xe_bo_sg()
  drm/xe/bo: Remove leftover trace_printk()
  drm/xe/vm: Fix ASID XA usage

 drivers/gpu/drm/xe/tests/xe_migrate.c |  2 +-
 drivers/gpu/drm/xe/xe_bo.c            | 44 +++++++++++++++------------
 drivers/gpu/drm/xe/xe_bo.h            |  2 +-
 drivers/gpu/drm/xe/xe_device.c        | 15 ++++++++-
 drivers/gpu/drm/xe/xe_migrate.c       |  8 ++---
 drivers/gpu/drm/xe/xe_pt.c            |  2 +-
 drivers/gpu/drm/xe/xe_vm.c            |  5 +--
 7 files changed, 48 insertions(+), 30 deletions(-)

-- 
2.41.0



Thomas Hellström (4):
  drm/xe: Ensure that we don't access the placements array out-of-bounds
  drm/xe/bo: Rename xe_bo_get_sg() to xe_bo_sg()
  drm/xe/bo: Remove leftover trace_printk()
  drm/xe/vm: Fix ASID XA usage

 drivers/gpu/drm/xe/tests/xe_migrate.c |  2 +-
 drivers/gpu/drm/xe/xe_bo.c            | 44 +++++++++++++++------------
 drivers/gpu/drm/xe/xe_bo.h            |  2 +-
 drivers/gpu/drm/xe/xe_device.c        | 15 ++++++++-
 drivers/gpu/drm/xe/xe_migrate.c       |  8 ++---
 drivers/gpu/drm/xe/xe_pt.c            |  2 +-
 drivers/gpu/drm/xe/xe_vm.c            |  5 +--
 7 files changed, 48 insertions(+), 30 deletions(-)

-- 
2.41.0