]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
accel/amdxdna: Support retrieving hardware context debug information
authorLizhi Hou <lizhi.hou@amd.com>
Tue, 17 Mar 2026 04:49:06 +0000 (21:49 -0700)
committerLizhi Hou <lizhi.hou@amd.com>
Tue, 17 Mar 2026 21:08:57 +0000 (14:08 -0700)
commit25854131c04a5aa25a41cf527aab269aadb86699
tree9068322b25c7e4389e7848970f312ca493833daa
parenta469749640fbcd2f49ab05fb83cca3da07f35ee3
accel/amdxdna: Support retrieving hardware context debug information

The firmware implements the GET_APP_HEALTH command to collect debug
information for a specific hardware context.

When a command times out, the driver issues this command to collect the
relevant debug information. User space tools can also retrieve this
information through the hardware context query IOCTL.

Reviewed-by: Mario Limonciello <mario.limonciello@amd.com>
Signed-off-by: Lizhi Hou <lizhi.hou@amd.com>
Link: https://patch.msgid.link/20260317044906.1513133-1-lizhi.hou@amd.com
drivers/accel/amdxdna/aie2_ctx.c
drivers/accel/amdxdna/aie2_message.c
drivers/accel/amdxdna/aie2_msg_priv.h
drivers/accel/amdxdna/aie2_pci.c
drivers/accel/amdxdna/aie2_pci.h
drivers/accel/amdxdna/amdxdna_ctx.c
drivers/accel/amdxdna/amdxdna_ctx.h
drivers/accel/amdxdna/npu4_regs.c