diff options
author | Hans Petter Selasky <hselasky@FreeBSD.org> | 2018-03-08 15:21:56 +0000 |
---|---|---|
committer | Hans Petter Selasky <hselasky@FreeBSD.org> | 2018-03-08 15:21:56 +0000 |
commit | e808190a59fe2501bea01192584e2981e62083bd (patch) | |
tree | 4f99d8488e9959de7f83866260a060f215f8fdd4 /usr.sbin/Makefile | |
parent | 479c9e50e1689d34b8bf352f401e45b4c4191f1c (diff) | |
download | src-test2-e808190a59fe2501bea01192584e2981e62083bd.tar.gz src-test2-e808190a59fe2501bea01192584e2981e62083bd.zip |
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
Notes
Notes:
svn path=/head/; revision=330653
Diffstat (limited to 'usr.sbin/Makefile')
-rw-r--r-- | usr.sbin/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/usr.sbin/Makefile b/usr.sbin/Makefile index d1338324214b..17f1b7b9414d 100644 --- a/usr.sbin/Makefile +++ b/usr.sbin/Makefile @@ -121,6 +121,7 @@ SUBDIR.${MK_BSDINSTALL}+= bsdinstall SUBDIR.${MK_BSNMP}+= bsnmpd SUBDIR.${MK_CTM}+= ctm SUBDIR.${MK_CXGBETOOL}+= cxgbetool +SUBDIR.${MK_MLX5TOOL}+= mlx5tool SUBDIR.${MK_DIALOG}+= bsdconfig SUBDIR.${MK_EFI}+= efivar efidp efibootmgr SUBDIR.${MK_FLOPPY}+= fdcontrol |