History log of /freebsd/sys/dev/mlx5/mlx5_core/mlx5_fwdump.c (Results 1 – 25 of 27)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# fdafd315 24-Nov-2023 Warner Losh <imp@FreeBSD.org>

sys: Automated cleanup of cdefs and other formatting

Apply the following automated changes to try to eliminate
no-longer-needed sys/cdefs.h includes as well as now-empty
blank lines in a row.

Remov

sys: Automated cleanup of cdefs and other formatting

Apply the following automated changes to try to eliminate
no-longer-needed sys/cdefs.h includes as well as now-empty
blank lines in a row.

Remove /^#if.*\n#endif.*\n#include\s+<sys/cdefs.h>.*\n/
Remove /\n+#include\s+<sys/cdefs.h>.*\n+#if.*\n#endif.*\n+/
Remove /\n+#if.*\n#endif.*\n+/
Remove /^#if.*\n#endif.*\n/
Remove /\n+#include\s+<sys/cdefs.h>\n#include\s+<sys/types.h>/
Remove /\n+#include\s+<sys/cdefs.h>\n#include\s+<sys/param.h>/
Remove /\n+#include\s+<sys/cdefs.h>\n#include\s+<sys/capsicum.h>/

Sponsored by: Netflix

show more ...


Revision tags: release/14.0.0
# 685dc743 16-Aug-2023 Warner Losh <imp@FreeBSD.org>

sys: Remove $FreeBSD$: one-line .c pattern

Remove /^[\s*]*__FBSDID\("\$FreeBSD\$"\);?\s*\n/


Revision tags: release/13.2.0, release/12.4.0
# f49fd63a 23-Sep-2022 John Baldwin <jhb@FreeBSD.org>

kmem_malloc/free: Use void * instead of vm_offset_t for kernel pointers.

Reviewed by: kib, markj
Sponsored by: DARPA
Differential Revision: https://reviews.freebsd.org/D36549


Revision tags: release/13.1.0, release/12.3.0
# ee9d634b 14-Jun-2021 Konstantin Belousov <konstantinb@nvidia.com>

mlx5: normalize use of the opt_*.h files

MFC after: 1 week
Sponsored by: NVIDIA Networking


# c6df6f53 10-Dec-2021 Warner Losh <imp@FreeBSD.org>

Create wrapper for Giant taken for newbus

Create a wrapper for newbus to take giant and for busses to take it too.
bus_topo_lock() should be called before interacting with newbus routines
and unlock

Create wrapper for Giant taken for newbus

Create a wrapper for newbus to take giant and for busses to take it too.
bus_topo_lock() should be called before interacting with newbus routines
and unlocked with bus_topo_unlock(). If you need the topology lock for
some reason, bus_topo_mtx() will provide that.

Sponsored by: Netflix
Reviewed by: mav
Differential Revision: https://reviews.freebsd.org/D31831

show more ...


# 78f5ebae 05-Jul-2021 Konstantin Belousov <konstantinb@nvidia.com>

mlx5: drop Giant around VSC lock and CRSPACE enumeration on attach

This code practically has not sleeping points, so Giant is locked for very
long time.

Noted and reviewed by: hselasky
MFC after:

mlx5: drop Giant around VSC lock and CRSPACE enumeration on attach

This code practically has not sleeping points, so Giant is locked for very
long time.

Noted and reviewed by: hselasky
MFC after: 1 week
Sponsored by: Mellanox Technologies // NVIDIA Networking

show more ...


# 8391db03 05-Jul-2021 Konstantin Belousov <konstantinb@nvidia.com>

mlx5: add a knob to administratively disable mlx5 fw dump setup

MFC after: 1 week
Reviewed by: hselasky
Sponsored by: Mellanox Technologies // NVIDIA Networking


Revision tags: release/13.0.0
# daa150aa 08-Jan-2021 Hans Petter Selasky <hselasky@FreeBSD.org>

Properly handle case where firmware dump returns more registers on second pass
in mlx5core.

Submitted by: kib@
MFC after: 1 week
Sponsored by: Mellanox Technologies // NVIDIA Networking


# 50a9f8bb 08-Jan-2021 Hans Petter Selasky <hselasky@FreeBSD.org>

Downgrade error about missing VSC to warning and make messages consistent
in mlx5core.

Submitted by: kib@
MFC after: 1 week
Sponsored by: Mellanox Technologies // NVIDIA Networking


Revision tags: release/12.2.0, release/11.4.0
# c47b170b 02-Dec-2019 Konstantin Belousov <kib@FreeBSD.org>

mlx5: Do not try to enable fwdumps if scan space did not responded.

Sponsored by: Mellanox Technologies
MFC after: 1 week


# 9a4af029 02-Dec-2019 Konstantin Belousov <kib@FreeBSD.org>

mlx5: Downgrade assert about misbehaving hardware to error message.

Sponsored by: Mellanox Technologies
MFC after: 1 week


Revision tags: release/12.1.0
# 8b3bc70a 08-Oct-2019 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r352764 through r353315.


# 63dd1be9 02-Oct-2019 Hans Petter Selasky <hselasky@FreeBSD.org>

Improve mlx5_fwdump_prep logging in mlx5core.

Submitted by: slavash@
MFC after: 3 days
Sponsored by: Mellanox Technologies


# 3e40712e 02-Oct-2019 Hans Petter Selasky <hselasky@FreeBSD.org>

Return an error from ioctl(MLX5_FW_RESET) if reset was rejected in mlx5core.

Submitted by: kib@
MFC after: 3 days
Sponsored by: Mellanox Technologies


# 048ddb58 02-Oct-2019 Hans Petter Selasky <hselasky@FreeBSD.org>

Move EEPROM information query from a sysctl in mlx5en(4) to an ioctl
in mlx5core. The EEPROM information is not only a property of the
mlx5en(4) driver.

Submitted by: slavash@
MFC after: 3 days
Spon

Move EEPROM information query from a sysctl in mlx5en(4) to an ioctl
in mlx5core. The EEPROM information is not only a property of the
mlx5en(4) driver.

Submitted by: slavash@
MFC after: 3 days
Sponsored by: Mellanox Technologies

show more ...


# a2f4f59c 02-Oct-2019 Hans Petter Selasky <hselasky@FreeBSD.org>

Unify prints in mlx5core.

All prints in mlx5core should use on of the macros:
mlx5_core_err/dbg/warn

Submitted by: slavash@
MFC after: 3 days
Sponsored by: Mellanox Technologies


# 4bc8507b 02-Oct-2019 Hans Petter Selasky <hselasky@FreeBSD.org>

Remove no longer needed fwdump register tables from mlx5core.

Submitted by: kib@
MFC after: 3 days
Sponsored by: Mellanox Technologies


# 47458190 02-Oct-2019 Hans Petter Selasky <hselasky@FreeBSD.org>

Read rege map from crdump scan space in mlx5core.

Submitted by: kib@
MFC after: 3 days
Sponsored by: Mellanox Technologies


Revision tags: release/11.3.0
# 7648bc9f 13-May-2019 Alan Somers <asomers@FreeBSD.org>

MFHead @347527

Sponsored by: The FreeBSD Foundation


# cf551f95 08-May-2019 Hans Petter Selasky <hselasky@FreeBSD.org>

Fix race between driver unload and dumping firmware in mlx5core.

Present code uses lock-less accesses to the dump data to prevent top
level ioctls from blocking bottom-level call to dump. Unfortuna

Fix race between driver unload and dumping firmware in mlx5core.

Present code uses lock-less accesses to the dump data to prevent top
level ioctls from blocking bottom-level call to dump. Unfortunately, this
depends on the type stability of the dump data structure, which makes it
non-functional during driver teardown.

Switch to the mutex locking scheme where top levels use the mutex in the
bound regions, while copyouts and drain for completion utilize condvars.
The mutex lifetime is guaranteed to be strictly larger than the time
interval where driver can initiate dump, and most of the control fields
of the old struct mlx5_dump_data are directly embedded into struct
mlx5_core_dev.

Submitted by: kib@
MFC after: 3 days
Sponsored by: Mellanox Technologies

show more ...


# bd802cea 08-May-2019 Hans Petter Selasky <hselasky@FreeBSD.org>

Rename functions from mlx5_fwdump to mlx5_ctl in mlx5core.

Submitted by: kib@
MFC after: 3 days
Sponsored by: Mellanox Technologies


# 998c9a2b 08-May-2019 Hans Petter Selasky <hselasky@FreeBSD.org>

Implement firmware reset from userspace in mlx5tool(8).

Submitted by: kib@
MFC after: 3 days
Sponsored by: Mellanox Technologies


# ea78f07b 08-May-2019 Hans Petter Selasky <hselasky@FreeBSD.org>

Implement userspace firmware update for ConnectX-4/5/6.

Submitted by: kib@
MFC after: 3 days
Sponsored by: Mellanox Technologies


# b255ca09 08-May-2019 Hans Petter Selasky <hselasky@FreeBSD.org>

Rename mlx5_fwdump_addr to more neutral mlx5_tool_addr in mlx5core.

Submitted by: kib@
MFC after: 3 days
Sponsored by: Mellanox Technologies


Revision tags: release/12.0.0, release/11.2.0
# 3c1274bd 30-Mar-2018 Hans Petter Selasky <hselasky@FreeBSD.org>

Prepare for FW dump in error state in mlx5core.

- Move firmware dump prep and cleanup to init_one() and remove_one() so that
the init and cleanup will happen only upon driver reload.
- Add some prin

Prepare for FW dump in error state in mlx5core.

- Move firmware dump prep and cleanup to init_one() and remove_one() so that
the init and cleanup will happen only upon driver reload.
- Add some prints to indicate firmware dump.

MFC after: 3 days
Submitted by: slavash@
Sponsored by: Mellanox Technologies

show more ...


12