opnsense-src/sys/modules/bnxt
Sreekanth Reddy e01b50d9f9 if_bnxt: Add Firmware crashdump collection support
This patch adds support for DDR-based firmware coredump memory handling.
It detects firmware coredump capability, allocates host DDR (DMA) memory
for crash dumps, and programs the firmware with the allocated memory during
attach. The allocated memory is released during driver detach.

Also, This patch adds functions to retrieve crash dump data from host DDR
memory. The implementation handles data copying from page tables and
checks dump availability. Main function bnxt_get_coredump() copies
stored crash dump data from DDR memory to the application buffer.

MFC after:      2 weeks
Reviewed by:    gallatin, ssaxena
Differential Revision: https://reviews.freebsd.org/D56684

(cherry picked from commit 03839879a2dd2505eab80b99211b0637ebdc9d32)
2026-10-07 08:01:08 +02:00
..
bnxt_en if_bnxt: Add Firmware crashdump collection support 2026-10-07 08:01:08 +02:00
bnxt_re Fix bnxt build in LINT 2024-05-29 09:49:53 -06:00
Makefile bnxt: Add a module makefile to fix the build 2024-05-28 08:02:19 -04:00