]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
accel/amdxdna: Fix incorrect command state for timed out job
authorLizhi Hou <lizhi.hou@amd.com>
Wed, 29 Oct 2025 19:34:23 +0000 (12:34 -0700)
committerLizhi Hou <lizhi.hou@amd.com>
Fri, 31 Oct 2025 00:48:13 +0000 (17:48 -0700)
commit6fb7f298883246e21f60f971065adcb789ae6eba
tree607182388437215d4eab7770c83b66e4ee47def6
parent231668043d4ffebda28630b120cddcba384a3318
accel/amdxdna: Fix incorrect command state for timed out job

When a command times out, mark it as ERT_CMD_STATE_TIMEOUT. Any other
commands that are canceled due to this timeout should be marked as
ERT_CMD_STATE_ABORT.

Fixes: aac243092b70 ("accel/amdxdna: Add command execution")
Reviewed-by: Mario Limonciello (AMD) <superm1@kernel.org>
Signed-off-by: Lizhi Hou <lizhi.hou@amd.com>
Link: https://patch.msgid.link/20251029193423.2430463-1-lizhi.hou@amd.com
drivers/accel/amdxdna/aie2_ctx.c
drivers/accel/amdxdna/amdxdna_ctx.h