]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'nfp-enhanced-debug-dump-via-ethtool'
authorDavid S. Miller <davem@davemloft.net>
Tue, 5 Dec 2017 20:01:03 +0000 (15:01 -0500)
committerDavid S. Miller <davem@davemloft.net>
Tue, 5 Dec 2017 20:01:03 +0000 (15:01 -0500)
commitda6f47b49303c4eae7e44e195046e90c8856acfc
tree147cfb71ebf595a78163a827827302ff5103d919
parent366614a764c904f2d544b75a7a6fc2be5563be96
parent745dbbdea512630f2eaa1f60bfe0e92e37a0dd3b
Merge branch 'nfp-enhanced-debug-dump-via-ethtool'

Simon Horman says:

====================
nfp: enhanced debug dump via ethtool

Add debug dump implementation to the NFP driver. This makes use of
existing ethtool infrastructure.  ethtool -W is used to select the dump
level and ethtool -w is used to dump NFP state.

The existing behaviour of dump level 0, dumping the arm.diag resource, is
preserved. Dump levels greater than 0 are implemented by this patchset and
optionally supported by firmware providing a _abi_dump_spec rtsym. This
rtsym provides a specification, in TLV format, of the information to be
dumped from the NFP at each supported dump level.

Dumps are also structured using a TLVs. They consist a prolog and the data
described int he corresponding dump.
====================

Signed-off-by: David S. Miller <davem@davemloft.net>