On Mon, May 16, 2022 at 3:20 PM Eric Huang <JinhuiEric.Huang@xxxxxxx> wrote: > > It is to simplify trap handler support for new asics in > the future. It would be good to provide a basic overview of what the changes are. Alex > > Signed-off-by: Eric Huang <jinhuieric.huang@xxxxxxx> > --- > .../gpu/drm/amd/amdkfd/cwsr_trap_handler.h | 2527 +++++++++-------- > .../amd/amdkfd/cwsr_trap_handler_gfx10.asm | 325 ++- > .../drm/amd/amdkfd/cwsr_trap_handler_gfx9.asm | 244 +- > 3 files changed, 1596 insertions(+), 1500 deletions(-)