Re: accel/amdxdna: Fix incorrect command state for timed out job
From: Markus Elfring
Date: Wed Oct 29 2025 - 03:53:37 EST
> What are the duplicate statements?
>
> Sorry that I am still a little confused.
>
>
> The code change is to distinguish between the job which is timed out and the job is aborted.
Would you like to clarify the usage incidence for amdxdna_cmd_set_state() calls
in combination with assignments to the variable “ret” (according to the implementation
of the affected function “aie2_sched_resp_handler”)?
https://elixir.bootlin.com/linux/v6.18-rc3/C/ident/amdxdna_cmd_set_state
Regards,
Markus