freebsd-skq/targets/pseudo
Hans Petter Selasky e808190a59 Add kernel and userspace code to dump the firmware state of supported
ConnectX-4/5 devices in mlx5core.

The dump is obtained by reading a predefined register map from the
non-destructive crspace, accessible by the vendor-specific PCIe
capability (VSC). The dump is stored in preallocated kernel memory and
managed by the mlx5tool(8), which communicates with the driver using a
character device node.

The utility allows to store the dump in format
    <address> <value>
into a file, to reset the dump content, and to manually initiate the
dump.

A call to mlx5_fwdump() should be added at the places where a dump
must be fetched automatically. The most likely place is right before a
firmware reset request.

Submitted by:	kib@
MFC after:	1 week
Sponsored by:	Mellanox Technologies
2018-03-08 15:21:56 +00:00
..
bootstrap-tools Fix nested MAKEOBJDIRPREFIX breaking various release/buildworld/toolchain targets. 2017-11-05 00:11:51 +00:00
clang DIRDEPS_BUILD: Connect new directories. 2017-10-31 00:04:07 +00:00
gcc Garbage collect removed directories. 2015-12-07 16:08:26 +00:00
hosttools Remove xlint(1). 2017-11-16 14:37:18 +00:00
kernel DIRDEPS_BUILD: Build the kernel in the same place as buildkernel would. 2016-05-26 23:20:10 +00:00
stage META_MODE: Simplify the META_COOKIE handling to use .USE/.USEBEFORE. 2016-03-11 23:45:28 +00:00
tests Disconnect libpathconv tests since they require external perl and do not work with kyua. 2017-10-31 19:52:30 +00:00
the-lot Properly connect tests. 2017-10-31 00:03:49 +00:00
toolchain META MODE: Fix 'make bootstrap-tools'. 2015-11-25 19:44:51 +00:00
universe local.meta.sys.mk already defines TARGET_ARCHES_arm 2015-12-08 00:22:24 +00:00
userland Add kernel and userspace code to dump the firmware state of supported 2018-03-08 15:21:56 +00:00
Makefile.inc