diff options
| author | Laurent Morichetti <laurent.morichetti@amd.com> | 2024-01-30 22:25:00 +0300 |
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2024-05-02 23:18:13 +0300 |
| commit | cf338b5dfe9d3a00f3c9d56fda05d70f78719af4 (patch) | |
| tree | e557f6342bb241907f6578a49fd0f8c575fce1f5 /lib/debugobjects.c | |
| parent | 450abfe4330a4131a02bd0682b1f742c424c30f3 (diff) | |
| download | linux-cf338b5dfe9d3a00f3c9d56fda05d70f78719af4.tar.xz | |
drm/amdkfd: enable missed single-step workaround for gfx12
When trap_ctrl.trap_after_inst is set, it is possible for a wave to
enter the trap handler, after single-stepping an instruction and a
save_context is raised, with only save_context set in excp_flag_priv.
Because excp_flag_priv.trap_after_inst is not reliably set, we need to
use the missed single-step workaround for gfx12 as well.
Also add wave_start and wave_end as exceptions that should be handled
by the 2nd level trap handler.
Signed-off-by: Laurent Morichetti <laurent.morichetti@amd.com>
Tested-by: Lancelot Six <lancelot.six@amd.com>
Reviewed-by: Jonathan Kim <jonathan.kim@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions
