[PATCH 0/29] Introduce AMD GPU ISA Debugging for HSA Compute

Jonathan Kim jonathan.kim at amd.com
Mon Aug 29 14:29:57 UTC 2022


This series is to expose the required KFD IOCTLs targeted to enable
ROCm's extension of the GNU Debugger for HSA compute debugging.

The series is divided into the following sections:

Section 1 - Drawing out the interfaces and preparing the KFD for
enable/disable calls
  [PATCH 01/29] drm/amdkfd: add debug and runtime enable interface
  [PATCH 02/29] drm/amdkfd: display debug capabilities
  [PATCH 03/29] drm/amdkfd: prepare per-process debug enable and

Section 2 - HW initialization and handling the per device HW debug mode
enable/disable requirement
  [PATCH 04/29] drm/amdgpu: add kgd hw debug mode setting interface
  [PATCH 05/29] drm/amdgpu: setup hw debug registers on driver
  [PATCH 06/29] drm/amdgpu: add gfx9 hw debug mode enable and disable
  [PATCH 07/29] drm/amdgpu: add gfx9.4.1 hw debug mode enable and
  [PATCH 08/29] drm/amdgpu: add gfx10 hw debug mode enable and disable
  [PATCH 09/29] drm/amdgpu: add gfx9.4.2 hw debug mode enable and

Section 3 - Preparation for HW debug mode setting and event handling
  [PATCH 10/29] drm/amdgpu: add configurable grace period for unmap
  [PATCH 11/29] drm/amdkfd: prepare map process for single process
  [PATCH 12/29] drm/amdgpu: prepare map process for multi-process debug
  [PATCH 13/29] drm/amdkfd: add per process hw trap enable and disable
  [PATCH 14/29] drm/amdkfd: add raise exception event function
  [PATCH 15/29] drm/amdkfd: add send exception operation
  [PATCH 16/29] drm/amdkfd: add runtime enable operation
  [PATCH 17/29] drm/amdkfd: Add debug trap enabled flag to TMA
  [PATCH 18/29] drm/amdkfd: update process interrupt handling for debug

Section 4 - Implementation of the HW debug mode setting operations
  [PATCH 19/29] drm/amdkfd: add debug set exceptions enabled operation
  [PATCH 20/29] drm/amdkfd: add debug wave launch override operation
  [PATCH 21/29] drm/amdkfd: add debug wave launch mode operation
  [PATCH 22/29] drm/amdkfd: add debug suspend and resume process queues
  [PATCH 23/29] drm/amdkfd: add debug set and clear address watch
  [PATCH 24/29] drm/amdkfd: add debug set flags operation
  [PATCH 25/29] drm/amdkfd: add debug query event operation
  [PATCH 26/29] drm/amdkfd: add debug query exception info operation
  [PATCH 27/29] drm/amdkfd: add debug queue snapshot operation
  [PATCH 28/29] drm/amdkfd: add debug device snapshot operation

Section 5 - Final version bump for interface access checks
  [PATCH 29/29] drm/amdkfd: bump kfd ioctl  minor version for debug api

BR,

Jon




More information about the amd-gfx mailing list