diff options
author | Shruti Parab <shruti.parab@broadcom.com> | 2025-07-11 00:39:37 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2025-07-11 17:28:34 +0300 |
commit | 100c08c89d173b7fdf953e7d9f9ca8f69f80d1c5 (patch) | |
tree | a25f43639d7c4d29c532c1da42a565e021682fad /scripts/gdb/linux/interrupts.py | |
parent | b74c2a2e9cc471e847abd87e50a2354c07e02040 (diff) | |
download | linux-100c08c89d173b7fdf953e7d9f9ca8f69f80d1c5.tar.xz |
bnxt_en: Flush FW trace before copying to the coredump
bnxt_fill_drv_seg_record() calls bnxt_dbg_hwrm_log_buffer_flush()
to flush the FW trace buffer. This needs to be done before we
call bnxt_copy_ctx_mem() to copy the trace data.
Without this fix, the coredump may not contain all the FW
traces.
Fixes: 3c2179e66355 ("bnxt_en: Add FW trace coredump segments to the coredump")
Reviewed-by: Kalesh AP <kalesh-anakkur.purayil@broadcom.com>
Signed-off-by: Shruti Parab <shruti.parab@broadcom.com>
Signed-off-by: Michael Chan <michael.chan@broadcom.com>
Link: https://patch.msgid.link/20250710213938.1959625-3-michael.chan@broadcom.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'scripts/gdb/linux/interrupts.py')
0 files changed, 0 insertions, 0 deletions