Skip to content

drm/xe/pagefault: Add SRCID to pagefault reporting

Jonathan Cavitt dri-devel intel-xe lkml 7 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v7 Latest2 patches 0 repliesNew
  2. v62 patches 0 repliesSuperseded
  3. v52 patches 1 replySuperseded
Earlier versions · 4
VersionPostedPatchesRepliesStatus
v42 patches3 repliesSuperseded
v32 patches1 replySuperseded
v22 patches0 repliesSuperseded
v12 patches0 repliesSuperseded

Changes in v7 from the cover letter

- Various formatting fixes

Patches in v7 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2drm/xe/pagefault: Add SRCID to pagefault structdrivers/gpu/drm/xe/xe_guc_pagefault.c drivers/gpu/drm/xe/xe_pagefault.c drivers/gpu/drm/xe/xe_pagefault_types.h+29 -120 replies
2/2drm/xe/vm: Add srcid to xe_vm_get_property_ioctl fault reportdrivers/gpu/drm/xe/xe_vm.c drivers/gpu/drm/xe/xe_vm_types.h include/uapi/drm/xe_drm.h+12 -20 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 v7 thread

Cover letter [PATCH v7 0/2] drm/xe/pagefault: Add SRCID to pagefault reporting

Add SRCID to the xe_pagefault struct, which reports the ID of the faulting hardware unit. This will be passed on to the xe_vm_get_property_ioctl for reading per-vm faults and will assist in diagnosing pagefaults.

v2:
- Readd pad check, as the pad in the ioctl struct was not changed (jcavitt)

v3:
- Rebase

v4:
- Squash SRCID with ASID to keep the struct compact (Matthew)

v5:
- Use BUILD_BUG_ON and move ASID definition in one function (Matthew)

v6:
- Rebase

v7:
- Various formatting fixes

Jonathan Cavitt (2):
drm/xe/pagefault: Add SRCID to pagefault struct drm/xe/vm: Add srcid to xe_vm_get_property_ioctl fault report

 drivers/gpu/drm/xe/xe_guc_pagefault.c   |  8 +++++++-
 drivers/gpu/drm/xe/xe_pagefault.c       | 24 +++++++++++++++---------
 drivers/gpu/drm/xe/xe_pagefault_types.h |  9 +++++++--
 drivers/gpu/drm/xe/xe_vm.c              |  8 ++++++++
 drivers/gpu/drm/xe/xe_vm_types.h        |  2 ++
 include/uapi/drm/xe_drm.h               |  4 ++--
 6 files changed, 41 insertions(+), 14 deletions(-)
Signature · 1 line
2.53.0