]> Gentwo Git Trees - linux/.git/commit
accel/amdxdna: Support getting last hardware error
authorLizhi Hou <lizhi.hou@amd.com>
Tue, 14 Oct 2025 23:41:19 +0000 (16:41 -0700)
committerLizhi Hou <lizhi.hou@amd.com>
Thu, 16 Oct 2025 16:32:48 +0000 (09:32 -0700)
commitb291e4f1a4951204ce858cd01801291d34962a33
tree26fff003cbbb95cb6e6db9f5969aa4148bba04ae
parent83f81f5499b511552b40d3995a11640d70bd928c
accel/amdxdna: Support getting last hardware error

Add new parameter DRM_AMDXDNA_HW_LAST_ASYNC_ERR to get array IOCTL. When
hardware reports an error, the driver save the error information and
timestamp. This new get array parameter retrieves the last error.

Reviewed-by: Mario Limonciello (AMD) <superm1@kernel.org>
Signed-off-by: Lizhi Hou <lizhi.hou@amd.com>
Link: https://lore.kernel.org/r/20251014234119.628453-1-lizhi.hou@amd.com
drivers/accel/amdxdna/aie2_error.c
drivers/accel/amdxdna/aie2_pci.c
drivers/accel/amdxdna/aie2_pci.h
drivers/accel/amdxdna/amdxdna_error.h [new file with mode: 0644]
drivers/accel/amdxdna/amdxdna_pci_drv.c
include/uapi/drm/amdxdna_accel.h