diff options
| author | Shruti Parab <shruti.parab@broadcom.com> | 2025-07-10 14:39:37 -0700 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-07-17 18:44:00 +0200 |
| commit | d717f65d01a09ba5f81d43ea84853db5ee2e6321 (patch) | |
| tree | ccc6cf467f0178b1493c3477fcc2db19fe36c407 /tools/perf/scripts/python | |
| parent | e1df900aca2e1e6ab490731481dd7543752a2b93 (diff) | |
| download | kernel-d717f65d01a09ba5f81d43ea84853db5ee2e6321.tar.gz | |
bnxt_en: Flush FW trace before copying to the coredump
[ Upstream commit 100c08c89d173b7fdf953e7d9f9ca8f69f80d1c5 ]
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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
