lkml.org 
[lkml]   [2020]   [Jan]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH net-next RFC 0/3] Add mlx5 devices FW upgrade reset support
Date
This patchset adds support for FW upgrade.
On devlink reload, if a pending FW image is found, the driver will perform
a FW upgrade reset flow to activate the pending FW image.

Sending as RFC because the FW activation reset requires a pci link
toggling. Although it works and we verify that the device is the only
device on the pcie bridge before allowing such reset, as already done by
other drivers [1], we would like to get some feedback on the last patch
of this series.

[1] function trigger_sbr() at drivers/infiniband/hw/hfi1/pcie.c

Moshe Shemesh (3):
net/mlx5: Add structure layout and defines for MFRL register
net/mlx5: Add functions to set/query MFRL register
net/mlx5: Add FW upgrade reset support

drivers/net/ethernet/mellanox/mlx5/core/devlink.c | 81 +++++++++++++++++++++-
drivers/net/ethernet/mellanox/mlx5/core/fw.c | 44 ++++++++++++
.../net/ethernet/mellanox/mlx5/core/mlx5_core.h | 2 +
include/linux/mlx5/driver.h | 1 +
include/linux/mlx5/mlx5_ifc.h | 17 +++++
5 files changed, 144 insertions(+), 1 deletion(-)

--
1.8.3.1

\
 
 \ /
  Last update: 2020-01-14 16:57    [W:0.064 / U:0.396 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site