cxgb4: use backdoor access to collect dumps when firmware crashed
authorRahul Lakkireddy <rahul.lakkireddy@chelsio.com>
Fri, 26 Jan 2018 11:35:56 +0000 (17:05 +0530)
committerDavid S. Miller <davem@davemloft.net>
Fri, 26 Jan 2018 16:00:22 +0000 (11:00 -0500)
commit770ca3477a5bafe4422ead691500d2d99836dc1d
tree99c193a470f3cb7bb4b7496e50f1614342da6283
parentebb5568fe27794cdcf18c8d9dc6b80dae98d79ec
cxgb4: use backdoor access to collect dumps when firmware crashed

Fallback to backdoor register access to collect dumps if firmware
is crashed.  Fixes TID, SGE Queue Context, and MPS TCAM dump collection.

Signed-off-by: Rahul Lakkireddy <rahul.lakkireddy@chelsio.com>
Signed-off-by: Ganesh Goudar <ganeshgr@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c