summaryrefslogtreecommitdiff
path: root/scripts/patch-kernel
diff options
context:
space:
mode:
authorTomasz Rusinowicz <tomasz.rusinowicz@intel.com>2024-09-30 21:52:59 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-02-27 04:30:15 -0800
commit6e254503a3883c74f76a4474841b181e0ef00df9 (patch)
treea6045983d5ea49b2a3f91aceb533b1ea1fe319e5 /scripts/patch-kernel
parent509662f532ac1bf127047fabe52d88dcb6d42c76 (diff)
downloadlinux-6e254503a3883c74f76a4474841b181e0ef00df9.tar.gz
linux-6e254503a3883c74f76a4474841b181e0ef00df9.tar.bz2
linux-6e254503a3883c74f76a4474841b181e0ef00df9.zip
accel/ivpu: Add FW state dump on TDR
[ Upstream commit 5e162f872d7af8f041b143536617ab2563ea7de5 ] Send JSM state dump message at the beginning of TDR handler. This allows FW to collect debug info in the FW log before the state of the NPU is lost allowing to analyze the cause of a TDR. Wait a predefined timeout (10 ms) so the FW has a chance to write debug logs. We cannot wait for JSM response at this point because IRQs are already disabled before TDR handler is invoked. Signed-off-by: Tomasz Rusinowicz <tomasz.rusinowicz@intel.com> Reviewed-by: Jacek Lawrynowicz <jacek.lawrynowicz@linux.intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20240930195322.461209-9-jacek.lawrynowicz@linux.intel.com Signed-off-by: Jacek Lawrynowicz <jacek.lawrynowicz@linux.intel.com> Stable-dep-of: 41a2d8286c90 ("accel/ivpu: Fix error handling in recovery/reset") Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions