mbox series

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

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

Message

Sudarsana Reddy Kalluru July 4, 2020, 4:43 a.m. UTC
Idlechk test verifies that the chip is in idle state. If there are any
errors, Idlechk dump would capture the same. This data will 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 the implementation for Idlechk tests.
Patch (3) adds driver changes to invoke Idlechk implementation.


Changes from previous version:
-------------------------------
v3: Combined the test data creation and implementation to a single patch.
v2: Addressed issues reported by kernel test robot.


Please consider applying to net-next tree.


Sudarsana Reddy Kalluru (3):
  bnx2x: Add Idlechk related register definitions.
  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        |   10 +-
 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c   |   16 +
 drivers/net/ethernet/broadcom/bnx2x/bnx2x_reg.h    |   78 +-
 .../net/ethernet/broadcom/bnx2x/bnx2x_self_test.c  | 3183 ++++++++++++++++++++
 drivers/net/ethernet/broadcom/bnx2x/bnx2x_stats.c  |    2 +
 6 files changed, 3281 insertions(+), 10 deletions(-)
 create mode 100644 drivers/net/ethernet/broadcom/bnx2x/bnx2x_self_test.c

Comments

David Miller July 5, 2020, 12:51 a.m. UTC | #1
From: Sudarsana Reddy Kalluru <skalluru@marvell.com>
Date: Sat, 4 Jul 2020 10:13:41 +0530

> Idlechk test verifies that the chip is in idle state. If there are any
> errors, Idlechk dump would capture the same. This data will 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 the implementation for Idlechk tests.
> Patch (3) adds driver changes to invoke Idlechk implementation.
> 
> 
> Changes from previous version:
> -------------------------------
> v3: Combined the test data creation and implementation to a single patch.
> v2: Addressed issues reported by kernel test robot.

Series applied, thanks.