]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/i915/gt: Log reason for setting TAINT_WARN at reset
authorSebastian Brzezinka <sebastian.brzezinka@intel.com>
Fri, 20 Dec 2024 13:17:14 +0000 (14:17 +0100)
committerAndi Shyti <andi.shyti@kernel.org>
Mon, 23 Dec 2024 19:12:20 +0000 (20:12 +0100)
commit835443da6f50d9516b58bba5a4fdf9e563d961c7
tree733c55ba21fa870f81e7b5b2b32604022652bc08
parent5ed539e327401adc6a41e6c729b5766ba184c5de
drm/i915/gt: Log reason for setting TAINT_WARN at reset

TAINT_WARN is used to notify CI about non-recoverable failures, which
require device to be restarted. In some cases, there is no sufficient
information about the reason for the restart. The test runner is just
killed, and DUT is rebooted, logging only 'probe with driver i915 failed
with error -4' to dmesg.

Printing error to dmesg before TAINT_WARN, would explain why the device
has been restarted, and what caused the malfunction in the first place.

Signed-off-by: Sebastian Brzezinka <sebastian.brzezinka@intel.com>
Reviewed-by: Andi Shyti <andi.shyti@linux.intel.com>
Signed-off-by: Andi Shyti <andi.shyti@linux.intel.com>
Acked-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Signed-off-by: Andi Shyti <andi.shyti@kernel.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20241220131714.1309483-1-andi.shyti@linux.intel.com
drivers/gpu/drm/i915/gt/intel_reset.c