Re: [PATCH] drm/amdkfd: Clear the VALU exception state in the trap handler

2023-11-09 Thread Lancelot SIX
The trap handler could be entered with pending VALU exceptions, so clear the exception state before issuing vector instructions. Signed-off-by: Laurent Morichetti Reviewed-by: Jay Cornwall Hi, FYI, I tested this and it fixes the issue. Best, Lancelot. Tested-by: Lancelot Six

Re: [PATCH] drm/amdkfd: Clear the VALU exception state in the trap handler

2023-11-08 Thread Jay Cornwall
On 11/8/2023 18:23, Laurent Morichetti wrote: > The trap handler could be entered with pending VALU exceptions, so > clear the exception state before issuing vector instructions. > > Signed-off-by: Laurent Morichetti Reviewed-by: Jay Cornwall

[PATCH] drm/amdkfd: Clear the VALU exception state in the trap handler

2023-11-08 Thread Laurent Morichetti
The trap handler could be entered with pending VALU exceptions, so clear the exception state before issuing vector instructions. Signed-off-by: Laurent Morichetti --- .../gpu/drm/amd/amdkfd/cwsr_trap_handler.h| 664 +- .../amd/amdkfd/cwsr_trap_handler_gfx10.asm| 6 + 2