hselasky d1efa6e93f 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
..
2018-01-12 12:14:14 +00:00
2018-01-11 21:17:05 +00:00
2017-12-30 11:42:49 +00:00
2018-01-26 06:21:24 +00:00
2018-01-07 20:28:17 +00:00
2018-02-26 02:28:32 +00:00
2017-04-03 03:07:48 +00:00
2017-05-18 06:13:29 +00:00
2017-12-20 18:15:06 +00:00
2017-12-20 18:15:06 +00:00
2017-06-26 21:14:33 +00:00
2017-11-21 09:08:27 +00:00
2017-11-13 10:49:18 +00:00
2017-06-09 12:06:22 +00:00
2017-03-05 03:05:24 +00:00
2017-08-21 20:27:45 +00:00
2018-01-12 12:14:14 +00:00
2018-01-12 12:14:14 +00:00
2018-01-12 12:14:14 +00:00
2017-03-09 01:21:28 +00:00
2017-05-09 05:22:51 +00:00
2018-01-24 22:04:16 +00:00
2017-12-05 17:23:33 +00:00
2017-01-28 02:22:15 +00:00