Skip to content

HMM profiler interface

Philip Yang amd-gfx 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5drm/amdkfd: svm range restore work deadlock when process exitdrivers/gpu/drm/amd/amdkfd/kfd_process.c drivers/gpu/drm/amd/amdkfd/kfd_svm.c+8 -70 replies
2/5drm/amdkfd: correct SMI event read sizedrivers/gpu/drm/amd/amdkfd/kfd_smi_events.c+3 -20 replies
3/5drm/amdkfd: enable per process SMI eventdrivers/gpu/drm/amd/amdkfd/kfd_smi_events.c include/uapi/linux/kfd_ioctl.h+48 -70 replies
4/5drm/amdkfd: add page fault SMI eventdrivers/gpu/drm/amd/amdkfd/kfd_smi_events.c drivers/gpu/drm/amd/amdkfd/kfd_smi_events.h drivers/gpu/drm/amd/amdkfd/kfd_svm.c+53 -30 replies
5/5drm/amdkfd: add migration SMI eventdrivers/gpu/drm/amd/amdkfd/kfd_migrate.c drivers/gpu/drm/amd/amdkfd/kfd_migrate.h drivers/gpu/drm/amd/amdkfd/kfd_smi_events.c +2 more+86 -310 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/5] HMM profiler interface

The ROCm profiler would expose the data from KFD profiling APIs to application developers to tune the applications based on how the address range attributes affect the behavior and performance.

Per process event log use the existing SMI (system management interface) event API. Each event log is one line of text, starting with event id, and then name=value pairs for the event specific information.

Philip Yang (5):
drm/amdkfd: svm range restore work deadlock when process exit drm/amdkfd: correct SMI event read size
drm/amdkfd: enable per process SMI event drm/amdkfd: add page fault SMI event
drm/amdkfd: add migration SMI event

 drivers/gpu/drm/amd/amdkfd/kfd_migrate.c    | 67 +++++++++-----
 drivers/gpu/drm/amd/amdkfd/kfd_migrate.h    |  5 +-
 drivers/gpu/drm/amd/amdkfd/kfd_process.c    |  1 -
 drivers/gpu/drm/amd/amdkfd/kfd_smi_events.c | 98 +++++++++++++++++++--
 drivers/gpu/drm/amd/amdkfd/kfd_smi_events.h |  8 ++
 drivers/gpu/drm/amd/amdkfd/kfd_svm.c        | 42 +++++----
 include/uapi/linux/kfd_ioctl.h              | 27 ++++++
 7 files changed, 198 insertions(+), 50 deletions(-)
Signature · 1 line
2.17.1