1
0
Fork 0
alistair23-linux/drivers/net/ethernet/mellanox/mlx5/core/lib
Eran Ben Elisha e757a39c2d net/mlx5: Don't call timecounter cyc2time directly from 1PPS flow
[ Upstream commit 0d2ffdc8d4 ]

Before calling timecounter_cyc2time(), clock->lock must be taken.
Use mlx5_timecounter_cyc2time instead which guarantees a safe access.

Fixes: afc98a0b46 ("net/mlx5: Update ptp_clock_event foreach PPS event")
Signed-off-by: Eran Ben Elisha <eranbe@mellanox.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-10-29 09:57:39 +01:00
..
clock.c net/mlx5: Don't call timecounter cyc2time directly from 1PPS flow 2020-10-29 09:57:39 +01:00
clock.h net/mlx5: Clock, Use async events chain 2018-11-26 13:39:33 -08:00
crypto.c Merge branch 'mlx5-next' of git://git.kernel.org/pub/scm/linux/kernel/git/mellanox/linux 2019-08-28 11:48:56 -07:00
devcom.c net/mlx5: Introduce inter-device communication mechanism 2018-12-14 13:28:51 -08:00
devcom.h net/mlx5e: E-Switch, Add peer miss rules 2018-12-14 13:28:51 -08:00
dm.c net/mlx5: Move device memory management to mlx5_core 2019-09-01 23:44:41 -07:00
eq.h mlx5: no need to check return value of debugfs_create functions 2019-08-10 15:25:47 -07:00
geneve.c net/mlx5: Geneve, Manage Geneve TLV options 2019-05-31 13:04:25 -07:00
geneve.h net/mlx5: Geneve, Manage Geneve TLV options 2019-05-31 13:04:25 -07:00
gid.c {net, IB}/mlx5: Change set_roce_gid to take a port number 2018-01-08 11:42:23 -07:00
hv.c net/mlx5: Fix return code in case of hyperv wrong size read 2019-08-23 14:44:14 -07:00
hv.h net/mlx5: Add wrappers for HyperV PCIe operations 2019-08-22 00:25:12 -07:00
hv_vhca.c net/mlx5: Add HV VHCA control agent 2019-08-22 00:25:12 -07:00
hv_vhca.h net/mlx5e: Add mlx5e HV VHCA stats agent 2019-08-22 00:25:12 -07:00
mlx5.h net/mlx5: Add crypto library to support create/destroy encryption key 2019-07-05 16:29:19 -07:00
mpfs.c net/mlx5: MPFS, Allow adding the same MAC more than once 2019-06-28 16:03:58 -07:00
mpfs.h net/mlx5: Separate between E-Switch and MPFS 2017-08-07 10:47:06 +03:00
pci_vsc.c net/mlx5: Control CR-space access by different PFs 2019-06-13 13:23:17 -07:00
pci_vsc.h net/mlx5: Control CR-space access by different PFs 2019-06-13 13:23:17 -07:00
port_tun.c net/mlx5e: Fix port tunnel GRE entropy control 2019-07-11 11:45:03 -07:00
port_tun.h net/mlx5e: Fix GRE key by controlling port tunnel entropy calculation 2019-02-22 13:38:23 -08:00
vxlan.c net/mlx5e: Use refcount_t for refcount 2019-08-09 14:54:11 -07:00
vxlan.h net/mlx5e: vxlan.c depends on CONFIG_VXLAN 2018-08-13 12:50:17 -07:00