]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
accel/amdxdna: Fix command hang on suspended hardware context
authorLizhi Hou <lizhi.hou@amd.com>
Wed, 11 Feb 2026 20:53:41 +0000 (12:53 -0800)
committerLizhi Hou <lizhi.hou@amd.com>
Mon, 23 Feb 2026 17:24:19 +0000 (09:24 -0800)
commit07efce5a6611af6714ea3ef65694e0c8dd7e44f5
tree54c835505343d324ef9b547dadf063f46b2e3ff8
parentfdb65acfe655f844ae1e88696b9656d3ef5bb8fb
accel/amdxdna: Fix command hang on suspended hardware context

When a hardware context is suspended, the job scheduler is stopped. If a
command is submitted while the context is suspended, the job is queued in
the scheduler but aie2_sched_job_run() is never invoked to restart the
hardware context. As a result, the command hangs.

Fix this by modifying the hardware context suspend routine to keep the job
scheduler running so that queued jobs can trigger context restart properly.

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/20260211205341.722982-1-lizhi.hou@amd.com
drivers/accel/amdxdna/aie2_ctx.c