drm/amdkfd: pass debug exceptions to second-level trap handler
authorLaurent Morichetti <laurent.morichetti@amd.com>
Tue, 30 Jan 2024 21:58:00 +0000 (13:58 -0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 12 Feb 2024 21:05:33 +0000 (16:05 -0500)
commit804bf74b1683b38c1a69c1cea485dbd3900ddf94
treecbb99b384f5397d1426d18cad0d6816e20353b38
parent7f9dde788400b8cc47014b43854ab87faef1e46f
drm/amdkfd: pass debug exceptions to second-level trap handler

Call the 2nd level trap handler if the cwsr handler is entered with any
one of wave_start, wave_end, or trap_after_inst exceptions.

Signed-off-by: Laurent Morichetti <laurent.morichetti@amd.com>
Tested-by: Lancelot Six <lancelot.six@amd.com>
Reviewed-by: Jay Cornwall <jay.cornwall@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdkfd/cwsr_trap_handler.h
drivers/gpu/drm/amd/amdkfd/cwsr_trap_handler_gfx10.asm