Re: accel/amdxdna: Fix incorrect command state for timed out job

From: Lizhi Hou

Date: Wed Oct 29 2025 - 14:43:45 EST



On 10/29/25 03:40, Markus Elfring wrote:
Sorry that I am still a little confused.
By the way:
How do you think about to move the statement “cmd_abo = job->cmd_bo;”
behind the applied input parameter validation?
https://elixir.bootlin.com/linux/v6.18-rc3/source/drivers/accel/amdxdna/aie2_ctx.c#L197-L226

With the patch, the order changed. It needs to read the timeout flag from cmd_abo.

Lizhi


Regards,
Markus