bnxt_en: Add context memory dump to coredump
Status from this message: This series was applied to netdev/net-next.git (main)
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest11 patches 0 repliesApplied 11/11
- v111 patches 2 repliesSuperseded
v1 from the cover letter
Patches in v2 All 11 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/11 | bnxt_en: Update firmware interface spec to 1.10.3.85drivers/ | +136 | 0 replies | Applied |
| 2/11 | bnxt_en: Add mem_valid bit to struct bnxt_ctx_mem_typedrivers/ drivers/ | +6 | 0 replies | Applied |
| 3/11 | bnxt_en: Refactor bnxt_free_ctx_mem()drivers/ | +18 | 0 replies | Applied |
| 4/11 | bnxt_en: Add a 'force' parameter to bnxt_free_ctx_mem()drivers/ drivers/ drivers/ | +29 | 0 replies | Applied |
| 5/11 | bnxt_en: Allocate backing store memory for FW trace logsdrivers/ drivers/ | +57 | 0 replies | Applied |
| 6/11 | bnxt_en: Manage the FW trace context memorydrivers/ drivers/ | +89 | 0 replies | Applied |
| 7/11 | bnxt_en: Do not free FW log context memorydrivers/ drivers/ | +36 | 0 replies | Applied |
| 8/11 | bnxt_en: Add functions to copy host context memorydrivers/ drivers/ | +107 | 0 replies | Applied |
| 9/11 | bnxt_en: Add 2 parameters to bnxt_fill_coredump_seg_hdr()drivers/ drivers/ | +17 | 0 replies | Applied |
| 10/11 | bnxt_en: Add a new ethtool -W dump flagdrivers/ drivers/ drivers/ +1 more | +90 | 0 replies | Applied |
| 11/11 | bnxt_en: Add FW trace coredump segments to the coredumpdrivers/ drivers/ | +90 | 0 replies | Applied |
Reviews trailers per patch
8 of 11 patches have a Reviewed-by or Acked-by.
| Patch | Hongguang Gao | Kalesh AP | Michael Chan | Pavan Chebbi | Andy Gospodarek | Selvin Thyparampil Xavier | Shruti Parab | Saravanan Vajravel | Kashyap Desai |
|---|---|---|---|---|---|---|---|---|---|
| 1/11 | R-b | R-b | |||||||
| 2/11 | R-b | Signed-of-by | |||||||
| 3/11 | |||||||||
| 4/11 | |||||||||
| 5/11 | R-b | ||||||||
| 6/11 | R-b | ||||||||
| 7/11 | |||||||||
| 8/11 | R-b | R-b | |||||||
| 9/11 | R-b | ||||||||
| 10/11 | R-b | R-b | R-b | R-b | R-b | R-b | |||
| 11/11 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 9 reviewers.
Cover letter [PATCH net-next v2 00/11] bnxt_en: Add context memory dump to coredump
The driver currently supports Live FW dump and crashed FW dump. On the newer chips, the driver allocates host backing store context memory for the chip and FW to store various states. The content of this context memory will be useful for debugging. This patchset adds the context memory contents to the ethtool -w coredump using a new dump flag.
The first patch is the FW interface update, followed by some refactoring of the context memory logic. Next, we add support for some new context memory types that contain various FW debug logs. After that, we add a new dump flag and the code to dump all the available context memory during ethtool -w coredump.
v1:
https://lore.kernel.org/netdev/[email protected]/
Hongguang Gao (3):
bnxt_en: Refactor bnxt_free_ctx_mem()
bnxt_en: Add a 'force' parameter to bnxt_free_ctx_mem()
bnxt_en: Do not free FW log context memory
Michael Chan (2):
bnxt_en: Update firmware interface spec to 1.10.3.85
bnxt_en: Add a new ethtool -W dump flag
Shruti Parab (5):
bnxt_en: Add mem_valid bit to struct bnxt_ctx_mem_type
bnxt_en: Allocate backing store memory for FW trace logs
bnxt_en: Manage the FW trace context memory
bnxt_en: Add 2 parameters to bnxt_fill_coredump_seg_hdr()
bnxt_en: Add FW trace coredump segments to the coredump
Sreekanth Reddy (1):
bnxt_en: Add functions to copy host context memory
drivers/net/ethernet/broadcom/bnxt/bnxt.c | 316 ++++++++++++++++-- drivers/net/ethernet/broadcom/bnxt/bnxt.h | 57 +++- .../ethernet/broadcom/bnxt/bnxt_coredump.c | 160 ++++++++- .../ethernet/broadcom/bnxt/bnxt_coredump.h | 43 +++ .../net/ethernet/broadcom/bnxt/bnxt_devlink.c | 2 +- .../net/ethernet/broadcom/bnxt/bnxt_ethtool.c | 4 +- drivers/net/ethernet/broadcom/bnxt/bnxt_hsi.h | 173 ++++++++-- 7 files changed, 658 insertions(+), 97 deletions(-)
Signature · 1 line
2.30.1