diff options
author | Karol Wachowski <karol.wachowski@intel.com> | 2025-01-07 18:32:29 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-05-22 14:31:57 +0200 |
commit | 4135fda2d2b8b153d92dcd69cdb44ec7132daed5 (patch) | |
tree | 9abc2f0a50d4fcd01bdc04eebe987274b5e5aaa2 /tools/perf/scripts/python/stackcollapse.py | |
parent | da17dcb118a77b802dd320a1efc7b0f13cb168f6 (diff) |
accel/ivpu: Dump only first MMU fault from single context
commit 0240fa18d247c99a1967f2fed025296a89a1c5f5 upstream.
Stop dumping consecutive faults from an already faulty context immediately,
instead of waiting for the context abort thread handler (IRQ handler bottom
half) to abort currently executing jobs.
Remove 'R' (record events) bit from context descriptor of a faulty
context to prevent future faults generation.
This change speeds up the IRQ handler by eliminating the need to print the
fault content repeatedly. Additionally, it prevents flooding dmesg with
errors, which was occurring due to the delay in the bottom half of the
handler stopping fault-generating jobs.
Signed-off-by: Karol Wachowski <karol.wachowski@intel.com>
Signed-off-by: Maciej Falkowski <maciej.falkowski@linux.intel.com>
Reviewed-by: Jacek Lawrynowicz <jacek.lawrynowicz@linux.intel.com>
Signed-off-by: Jacek Lawrynowicz <jacek.lawrynowicz@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20250107173238.381120-7-maciej.falkowski@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions