]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
cxgb4: Fix to dump devlog, even if FW is crashed
authorHariprasad Shenai <hariprasad@chelsio.com>
Wed, 1 Apr 2015 16:11:16 +0000 (21:41 +0530)
committerDavid S. Miller <davem@davemloft.net>
Wed, 1 Apr 2015 18:47:20 +0000 (14:47 -0400)
commitae469b68a557d1bd538c9122eaf99cf09fc242f2
tree3d0fb3e2945446990f51a14117633829fb8f31d9
parent7ef65a42111270f343b26673c10e48180871326b
cxgb4: Fix to dump devlog, even if FW is crashed

Add new Common Code routines to retrieve Firmware Device Log
parameters from PCIE_FW_PF[7]. The firmware initializes its Device Log very
early on and stores the parameters for its location/size in that register.
Using the parameters from the register allows us to access the Firmware
Device Log even when the firmware crashes very early on or we're not
attached to the firmware

Based on original work by Casey Leedom <leedom@chelsio.com>

Signed-off-by: Hariprasad Shenai <hariprasad@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/chelsio/cxgb4/cxgb4.h
drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c
drivers/net/ethernet/chelsio/cxgb4/t4_hw.c
drivers/net/ethernet/chelsio/cxgb4/t4_regs.h