SVNews r330653

NOTE: This service is experimental and subject to change! Use at your own risk!

2018-03-08 15:21:56 - r330653 by hselasky (Hans Petter Selasky)

Complete list of files affected by revision r330653:

(Note: At the moment, these links point to ViewVC on They are probably slow. Do not overuse.)

  History   Contents   Diff   MODIFY   /head/etc/mtree/BSD.include.dist  
  History   Contents   Diff   MODIFY   /head/include/Makefile  
  History   Contents   Diff   MODIFY   /head/share/man/man4/Makefile  
  History   Contents     ADD   /head/share/man/man4/mlx5io.4  
  History   Contents   Diff   MODIFY   /head/share/man/man5/src.conf.5  
  History   Contents   Diff   MODIFY   /head/share/mk/  
  History   Contents   Diff   MODIFY   /head/sys/conf/files  
  History   Contents   Diff   MODIFY   /head/sys/dev/mlx5/driver.h  
  History   Contents   Diff   MODIFY   /head/sys/dev/mlx5/mlx5_core/mlx5_core.h  
  History   Contents     ADD   /head/sys/dev/mlx5/mlx5_core/mlx5_fwdump.c  
  History   Contents     ADD   /head/sys/dev/mlx5/mlx5_core/mlx5_fwdump_regmaps.c  
  History   Contents   Diff   MODIFY   /head/sys/dev/mlx5/mlx5_core/mlx5_main.c  
  History   Contents     ADD   /head/sys/dev/mlx5/mlx5io.h  
  History   Contents   Diff   MODIFY   /head/sys/modules/mlx5/Makefile  
  History   Contents   Diff   MODIFY   /head/targets/pseudo/userland/Makefile.depend  
  History   Contents     ADD   /head/tools/build/options/WITHOUT_MLX5TOOL  
  History   Contents     ADD   /head/tools/build/options/WITH_MLX5TOOL  
  History   Contents   Diff   MODIFY   /head/usr.sbin/Makefile  
   Contents     ADD   /head/usr.sbin/mlx5tool  
  History   Contents     ADD   /head/usr.sbin/mlx5tool/Makefile  
  History   Contents     ADD   /head/usr.sbin/mlx5tool/mlx5tool.8  
  History   Contents     ADD   /head/usr.sbin/mlx5tool/mlx5tool.c  

Commit message:

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

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


Powered by Python FreeBSD support by secnetix GmbH & Co. KG

Page generated in 10 ms, 22 files printed. Current time is 2018-03-18 11:56:03. All times are in UTC/GMT.