]> git.baikalelectronics.ru Git - kernel.git/commit
qed: Add configuration information to register dump and debug data
authorDenis Bolotin <denis.bolotin@cavium.com>
Mon, 23 Apr 2018 11:56:05 +0000 (14:56 +0300)
committerDavid S. Miller <davem@davemloft.net>
Mon, 23 Apr 2018 16:05:57 +0000 (12:05 -0400)
commit419dd9d0cc6d12bb33c4af10b2aa0f9b31ac8bf1
treebef01a9f31a882d136332bc4c3b378eb3ad08f96
parent9632d27c2aaaa6da9c2f725baa5a88af75101fa1
qed: Add configuration information to register dump and debug data

Configuration information is added to the debug data collection, in
addition to register dump.
Added qed_dbg_nvm_image() that receives an image type, allocates a
buffer and reads the image. The images are saved in the buffers and the
dump size is updated.

Signed-off-by: Denis Bolotin <denis.bolotin@cavium.com>
Signed-off-by: Ariel Elior <ariel.elior@cavium.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qlogic/qed/qed_debug.c
drivers/net/ethernet/qlogic/qed/qed_mcp.c
drivers/net/ethernet/qlogic/qed/qed_mcp.h
include/linux/qed/qed_if.h