]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
accel/amdxdna: Remove hardware context status
authorLizhi Hou <lizhi.hou@amd.com>
Mon, 2 Feb 2026 21:24:50 +0000 (13:24 -0800)
committerLizhi Hou <lizhi.hou@amd.com>
Tue, 3 Feb 2026 17:20:24 +0000 (09:20 -0800)
commitb853007fdcdd64b49601a993c2b30c28279ae15d
treea026fab6a7af26f3d922c48d039f9083db45f641
parentfe6d29b082d49df336ebb92226a3c004ae9e3222
accel/amdxdna: Remove hardware context status

One newly supported command does not require hardware context configuration
to be performed upfront. As a result, checking hardware context status
causes this command to fail incorrectly.

Remove hardware context status handling entirely. For other commands,
if userspace submits a request without configuring the hardware context
first, the firmware will report an error or time out as appropriate.

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