mirror_ubuntu-kernels/drivers/net/ethernet/freescale/dpaa2
Radu Bulie 07dd44852b dpaa2-eth: Initialize mutex used in one step timestamping path
1588 Single Step Timestamping code path uses a mutex to
enforce atomicity for two events:
- update of ptp single step register
- transmit ptp event packet

Before this patch the mutex was not initialized. This
caused unexpected crashes in the Tx function.

Fixes: c55211892f ("dpaa2-eth: support PTP Sync packet one-step timestamping")
Signed-off-by: Radu Bulie <radu-andrei.bulie@nxp.com>
Reviewed-by: Ioana Ciornei <ioana.ciornei@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2022-02-15 14:33:30 +00:00
..
dpaa2-eth-dcb.c dpaa2-eth: add a dpaa2_eth_ prefix to all functions in dpaa2-eth-dcb.c 2020-09-01 13:23:47 -07:00
dpaa2-eth-debugfs.c dpaa2-eth: name the debugfs directory after the DPNI object 2021-05-21 14:05:04 -07:00
dpaa2-eth-debugfs.h
dpaa2-eth-devlink.c dpaa2-eth: Register devlink instance at the end of probe 2021-09-27 16:31:59 +01:00
dpaa2-eth-trace.h dpaa2-eth: fix recursive header include 2020-06-25 16:03:39 -07:00
dpaa2-eth.c dpaa2-eth: Initialize mutex used in one step timestamping path 2022-02-15 14:33:30 +00:00
dpaa2-eth.h dpaa2-eth: fix ethtool statistics 2021-12-15 17:48:54 -08:00
dpaa2-ethtool.c dpaa2-eth: fix ethtool statistics 2021-12-15 17:48:54 -08:00
dpaa2-mac.c dpaa2-mac: return -EPROBE_DEFER from dpaa2_mac_open in case the fwnode is not set 2022-01-06 19:49:10 -08:00
dpaa2-mac.h net: phy: lynx: refactor Lynx PCS module to use generic phylink_pcs 2022-01-02 18:48:47 +00:00
dpaa2-ptp.c bus: fsl-mc: fsl-mc-allocator: Rework MSI handling 2021-12-16 22:16:41 +01:00
dpaa2-ptp.h dpaa2-eth: define a global ptp_qoriq structure pointer 2020-09-18 14:32:48 -07:00
dpaa2-switch-ethtool.c dpaa2-switch: export MAC statistics in ethtool 2021-08-04 09:53:34 +01:00
dpaa2-switch-flower.c dpaa2-switch: fix default return of dpaa2_switch_flower_parse_mirror_key 2022-02-15 14:31:43 +00:00
dpaa2-switch.c Rework of the MSI interrupt infrastructure: 2022-01-13 09:05:29 -08:00
dpaa2-switch.h dpaa2-switch: integrate the MAC endpoint support 2021-08-04 09:53:34 +01:00
dpkg.h dpaa2-eth: fixup kdoc warnings 2021-03-16 15:29:49 -07:00
dpmac-cmd.h dpaa2-eth: fix a build warning in dpmac.c 2020-09-18 14:36:00 -07:00
dpmac.c
dpmac.h dpaa2-eth: fixup kdoc warnings 2021-03-16 15:29:49 -07:00
dpni-cmd.h dpaa2-eth: add support for Rx VLAN filtering 2021-01-13 19:20:55 -08:00
dpni.c dpaa2-eth: fixup kdoc warnings 2021-03-16 15:29:49 -07:00
dpni.h dpaa2-eth: fixup kdoc warnings 2021-03-16 15:29:49 -07:00
dprtc-cmd.h dpaa2-ptp: add external trigger event support 2019-12-16 15:56:41 -08:00
dprtc.c
dprtc.h dpaa2-eth: fixup kdoc warnings 2021-03-16 15:29:49 -07:00
dpsw-cmd.h dpaa2-switch: add API for setting up mirroring 2021-07-29 21:34:45 +01:00
dpsw.c dpaa2-switch: add API for setting up mirroring 2021-07-29 21:34:45 +01:00
dpsw.h dpaa2-switch: integrate the MAC endpoint support 2021-08-04 09:53:34 +01:00
Kconfig staging: dpaa2-switch: move the driver out of staging 2021-03-10 13:30:36 -08:00
Makefile dpaa2-switch: integrate the MAC endpoint support 2021-08-04 09:53:34 +01:00