Skip to content

Improve SVM migrate event report

Philip Yang amd-gfx 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest4 patches 1 replyIn review
  2. v24 patches 5 repliesSuperseded
  3. v12 patches 4 repliesSuperseded

Changes in v3 from the cover letter

Simplify event drop count handling (James Zhu)

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4drm/amdkfd: Document and define SVM events message macrodrivers/gpu/drm/amd/amdkfd/kfd_smi_events.c include/uapi/linux/kfd_ioctl.h+109 -360 replies
2/4drm/amdkfd: Output migrate end event if migrate faileddrivers/gpu/drm/amd/amdkfd/kfd_migrate.c drivers/gpu/drm/amd/amdkfd/kfd_smi_events.c drivers/gpu/drm/amd/amdkfd/kfd_smi_events.h +1 more+15 -140 replies
3/4drm/amdkfd: Increase SMI event fifo sizedrivers/gpu/drm/amd/amdkfd/kfd_smi_events.c+3 -30 replies
4/4drm/amdkfd: SMI report dropped event countdrivers/gpu/drm/amd/amdkfd/kfd_smi_events.c include/uapi/linux/kfd_ioctl.h+27 -40 replies

Reviews trailers per patch

None of the 4 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchJamesZhu
SeriesR-b
1/4
2/4
3/4
4/4

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

Read the v3 thread

Cover letter [PATCH v3 0/4] Improve SVM migrate event report

1. Document how to use SMI system management interface to receive SVM events, define string format macro for user mode.
2. Increase the event kfifo size, so less chance to drop event.
3. Output migrate end event with error code if migration failed.
4. Report dropped event count if fifo is full.

v3:
Simplify event drop count handling (James Zhu)

Philip Yang (4):
drm/amdkfd: Document and define SVM events message macro drm/amdkfd: Output migrate end event if migrate failed drm/amdkfd: Increase SMI event fifo size drm/amdkfd: SMI report dropped event count

 drivers/gpu/drm/amd/amdkfd/kfd_migrate.c    |  14 ++-
 drivers/gpu/drm/amd/amdkfd/kfd_smi_events.c |  79 +++++++++------
 drivers/gpu/drm/amd/amdkfd/kfd_smi_events.h |   3 +-
 include/uapi/linux/kfd_ioctl.h              | 107 +++++++++++++++++---
 4 files changed, 150 insertions(+), 53 deletions(-)
Signature · 1 line
2.43.2