Introduce AMD GPU ISA Debugging for HSA Compute
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest29 patches 2 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/29 | drm/amdkfd: add debug and runtime enable interfacedrivers/ include/ | +609 | 1 reply | |
| 2/29 | drm/amdkfd: display debug capabilitiesdrivers/ drivers/ include/ | +104 | 0 replies | |
| 3/29 | drm/amdkfd: prepare per-process debug enable and disabledrivers/ drivers/ drivers/ +4 more | +308 | 0 replies | |
| 4/29 | drm/amdgpu: add kgd hw debug mode setting interfacedrivers/ | +34 | 0 replies | |
| 5/29 | drm/amdgpu: setup hw debug registers on driver initializationdrivers/ drivers/ drivers/ +5 more | +163 | 0 replies | |
| 6/29 | drm/amdgpu: add gfx9 hw debug mode enable and disable callsdrivers/ drivers/ drivers/ | +102 | 0 replies | |
| 7/29 | drm/amdgpu: add gfx9.4.1 hw debug mode enable and disable callsdrivers/ drivers/ drivers/ +1 more | +110 | 0 replies | |
| 8/29 | drm/amdgpu: add gfx10 hw debug mode enable and disable callsdrivers/ drivers/ drivers/ | +126 | 0 replies | |
| 9/29 | drm/amdgpu: add gfx9.4.2 hw debug mode enable and disable callsdrivers/ | +33 | 0 replies | |
| 10/29 | drm/amdgpu: add configurable grace period for unmap queuesdrivers/ drivers/ drivers/ +10 more | +291 | 0 replies | |
| 11/29 | drm/amdkfd: prepare map process for single process debug devicesdrivers/ drivers/ drivers/ +1 more | +115 | 0 replies | |
| 12/29 | drm/amdgpu: prepare map process for multi-process debug devicesdrivers/ drivers/ drivers/ +3 more | +89 | 0 replies | |
| 13/29 | drm/amdkfd: add per process hw trap enable and disable functionsdrivers/ drivers/ drivers/ +2 more | +170 | 0 replies | |
| 14/29 | drm/amdkfd: add raise exception event functiondrivers/ drivers/ drivers/ | +102 | 0 replies | |
| 15/29 | drm/amdkfd: add send exception operationdrivers/ drivers/ drivers/ +5 more | +134 | 0 replies | |
| 16/29 | drm/amdkfd: add runtime enable operationdrivers/ drivers/ drivers/ +1 more | +148 | 0 replies | |
| 17/29 | drm/amdkfd: Add debug trap enabled flag to TMAdrivers/ drivers/ drivers/ | +22 | 0 replies | |
| 18/29 | drm/amdkfd: update process interrupt handling for debug eventsdrivers/ drivers/ drivers/ +8 more | +631 | 1 reply | |
| 19/29 | drm/amdkfd: add debug set exceptions enabled operationdrivers/ drivers/ drivers/ | +41 | 0 replies | |
| 20/29 | drm/amdkfd: add debug wave launch override operationdrivers/ drivers/ drivers/ +7 more | +261 | 0 replies | |
| 21/29 | drm/amdkfd: add debug wave launch mode operationdrivers/ drivers/ drivers/ +7 more | +119 | 0 replies | |
| 22/29 | drm/amdkfd: add debug suspend and resume process queues operationdrivers/ drivers/ drivers/ +4 more | +454 | 0 replies | |
| 23/29 | drm/amdkfd: add debug set and clear address watch points operationdrivers/ drivers/ drivers/ +9 more | +405 | 0 replies | |
| 24/29 | drm/amdkfd: add debug set flags operationdrivers/ drivers/ drivers/ | +38 | 0 replies | |
| 25/29 | drm/amdkfd: add debug query event operationdrivers/ drivers/ drivers/ | +75 | 0 replies | |
| 26/29 | drm/amdkfd: add debug query exception info operationdrivers/ drivers/ drivers/ | +133 | 0 replies | |
| 27/29 | drm/amdkfd: add debug queue snapshot operationdrivers/ drivers/ drivers/ +2 more | +96 | 0 replies | |
| 28/29 | drm/amdkfd: add debug device snapshot operationdrivers/ drivers/ drivers/ | +62 | 0 replies | |
| 29/29 | drm/amdkfd: bump kfd ioctl minor version for debug api availabilitydrivers/ include/ | +2 | 0 replies |
Reviews trailers per patch
1 of 29 patches has a Reviewed-by or Acked-by.
| Patch | Felix Kuehling |
|---|---|
| 1/29 | |
| 2/29 | |
| 3/29 | |
| 4/29 | |
| 5/29 | |
| 6/29 | |
| 7/29 | |
| 8/29 | |
| 9/29 | |
| 10/29 | |
| 11/29 | |
| 12/29 | |
| 13/29 | |
| 14/29 | |
| 15/29 | |
| 16/29 | |
| 17/29 | R-b |
| 18/29 | |
| 19/29 | |
| 20/29 | |
| 21/29 | |
| 22/29 | |
| 23/29 | |
| 24/29 | |
| 25/29 | |
| 26/29 | |
| 27/29 | |
| 28/29 | |
| 29/29 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/29] Introduce AMD GPU ISA Debugging for HSA Compute
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