]> Gentwo Git Trees - linux/.git/commit
accel/amdxdna: Treat power-off failure as unrecoverable error
authorLizhi Hou <lizhi.hou@amd.com>
Thu, 6 Nov 2025 18:05:21 +0000 (10:05 -0800)
committerLizhi Hou <lizhi.hou@amd.com>
Fri, 7 Nov 2025 16:52:29 +0000 (08:52 -0800)
commit1750e652a996382a8608ec70167c3719d0556bda
tree8a2a5a0503099f7852bacaabfe484a3d8dceb895
parent9942d36a73c2d46c52fdd6f37cf698f3cb09ce5c
accel/amdxdna: Treat power-off failure as unrecoverable error

Failing to set power off indicates an unrecoverable hardware or firmware
error. Update the driver to treat such a failure as a fatal condition
and stop further operations that depend on successful power state
transition.

This prevents undefined behavior when the hardware remains in an
unexpected state after a failed power-off attempt.

Reviewed-by: Mario Limonciello (AMD) <superm1@kernel.org>
Signed-off-by: Lizhi Hou <lizhi.hou@amd.com>
Link: https://patch.msgid.link/20251106180521.1095218-1-lizhi.hou@amd.com
drivers/accel/amdxdna/aie2_smu.c