]> www.infradead.org Git - users/dwmw2/linux.git/commit
bnxt_en: Add FW trace coredump segments to the coredump
authorShruti Parab <shruti.parab@broadcom.com>
Fri, 15 Nov 2024 15:14:37 +0000 (07:14 -0800)
committerJakub Kicinski <kuba@kernel.org>
Tue, 19 Nov 2024 03:48:55 +0000 (19:48 -0800)
commit3c2179e66355a2f85ff86a73719f0ce7dcf4a226
tree7818a2659f7a51559bdcdf87e04fe89b581099db
parentbda2e63a508b7f728c2386c9a0de234113e8b809
bnxt_en: Add FW trace coredump segments to the coredump

The FW trace coredump segments are very similar to the context
memory segments in the previous patch.  The main difference is
to call HWRM_DBG_LOG_BUFFER_FLUSH to flush the FW data to host
memory and to include an additional record in the coredump that
contains the head and tail information of the trace data.

Reviewed-by: Hongguang Gao <hongguang.gao@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/20241115151438.550106-12-michael.chan@broadcom.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/broadcom/bnxt/bnxt_coredump.c
drivers/net/ethernet/broadcom/bnxt/bnxt_coredump.h