mbox series

[net-next,0/4] bnx2x: Perform IdleChk dump.

Message ID 1593699029-18937-1-git-send-email-skalluru@marvell.com
Headers show
Series bnx2x: Perform IdleChk dump. | expand

Message

Sudarsana Reddy Kalluru July 2, 2020, 2:10 p.m. UTC
Idlechk test verifies that the chip is in idle state. If there are any
errors, Idlechk dump would capture the same. This would help in debugging
the device related issues.
The patch series adds driver support for dumping IdleChk data during the
debug dump collection.
Patch (1) adds register definitions required in this implementation.
Patch (2) adds database of self test checks (registers and predicates).
Patch (3) adds the implementation for Idlechk test.
Patch (4) adds driver changes to invoke Idlechk implementation.


Sudarsana Reddy Kalluru (4):
  bnx2x: Add Idlechk related register definitions.
  bnx2x: Populate database for Idlechk tests.
  bnx2x: Add support for idlechk tests.
  bnx2x: Perform Idlechk dump during the debug collection.

 drivers/net/ethernet/broadcom/bnx2x/Makefile       |    2 +-
 drivers/net/ethernet/broadcom/bnx2x/bnx2x.h        |    3 +
 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c   |    9 +
 drivers/net/ethernet/broadcom/bnx2x/bnx2x_reg.h    |   78 +-
 .../net/ethernet/broadcom/bnx2x/bnx2x_self_test.c  | 3184 ++++++++++++++++++++
 5 files changed, 3273 insertions(+), 3 deletions(-)
 create mode 100644 drivers/net/ethernet/broadcom/bnx2x/bnx2x_self_test.c