summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorhselasky <hselasky@FreeBSD.org>2018-03-26 20:59:26 +0000
committerhselasky <hselasky@FreeBSD.org>2018-03-26 20:59:26 +0000
commitf2a88216d8399035757bfdcc8b18947d53f458da (patch)
tree135540ec942858c80cd9005edaad9b40a042b08a /etc
parent6107e400c65108a78bf986e9cfabe1bdcdd12f6f (diff)
downloadFreeBSD-src-f2a88216d8399035757bfdcc8b18947d53f458da.zip
FreeBSD-src-f2a88216d8399035757bfdcc8b18947d53f458da.tar.gz
MFC r330653:
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@ Sponsored by: Mellanox Technologies
Diffstat (limited to 'etc')
-rw-r--r--etc/mtree/BSD.include.dist2
1 files changed, 2 insertions, 0 deletions
diff --git a/etc/mtree/BSD.include.dist b/etc/mtree/BSD.include.dist
index 1839b8e..545a5b7 100644
--- a/etc/mtree/BSD.include.dist
+++ b/etc/mtree/BSD.include.dist
@@ -130,6 +130,8 @@
..
mfi
..
+ mlx5
+ ..
mmc
..
mpt
OpenPOWER on IntegriCloud