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
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
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