linux-brain/drivers/net/ethernet/stmicro/stmmac
Fredrik Hallenberg 9d0858e712 net: stmmac: Fix TX timestamp calculation
[ Upstream commit 200922c93f ]

When using GMAC4 the value written in PTP_SSIR should be shifted however
the shifted value is also used in subsequent calculations which results
in a bad timestamp value.

Signed-off-by: Fredrik Hallenberg <megahallon@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-03-03 10:23:23 +01:00
..
Kconfig ethernet: stmmac: make DWMAC_STM32 depend on it's associated SoC 2016-11-21 11:34:24 -05:00
Makefile ARM: SoC: late DT updates for v4.9 2016-10-07 21:34:49 -07:00
altr_tse_pcs.c net: ethernet: Fix SGMII unable to switch speed and autonego failure 2016-11-15 12:06:24 -05:00
altr_tse_pcs.h net: ethernet: Add TSE PCS support to dwmac-socfpga 2016-07-10 22:07:50 -07:00
chain_mode.c stmmac: optimize tx desc management 2016-03-02 14:21:32 -05:00
common.h stmmac: fix PTP type ethtool stats 2016-11-15 19:56:17 -05:00
descs.h stmmac: fix PTP type ethtool stats 2016-11-15 19:56:17 -05:00
descs_com.h stmmac: change descriptor layout 2016-03-02 14:21:30 -05:00
dwmac-generic.c net: ethernet: stmmac: fix of-node and fixed-link-phydev leaks 2016-12-02 10:42:47 -05:00
dwmac-ipq806x.c net: ethernet: stmmac: fix of-node and fixed-link-phydev leaks 2016-12-02 10:42:47 -05:00
dwmac-lpc18xx.c net: ethernet: stmmac: fix of-node and fixed-link-phydev leaks 2016-12-02 10:42:47 -05:00
dwmac-meson.c net: ethernet: stmmac: fix of-node and fixed-link-phydev leaks 2016-12-02 10:42:47 -05:00
dwmac-meson8b.c net: ethernet: stmmac: fix of-node and fixed-link-phydev leaks 2016-12-02 10:42:47 -05:00
dwmac-rk.c net: ethernet: stmmac: fix of-node and fixed-link-phydev leaks 2016-12-02 10:42:47 -05:00
dwmac-socfpga.c net: ethernet: stmmac: fix of-node and fixed-link-phydev leaks 2016-12-02 10:42:47 -05:00
dwmac-sti.c net: ethernet: stmmac: fix of-node and fixed-link-phydev leaks 2016-12-02 10:42:47 -05:00
dwmac-stm32.c net: ethernet: stmmac: fix of-node and fixed-link-phydev leaks 2016-12-02 10:42:47 -05:00
dwmac-sunxi.c net: ethernet: stmmac: fix of-node and fixed-link-phydev leaks 2016-12-02 10:42:47 -05:00
dwmac4.h drivers: net: stmmac: rework core ISR to better manage PCS and PMT 2016-06-28 08:54:23 -04:00
dwmac4_core.c stmmac: fix PWRDWN into the PMT register for global unicast. 2016-09-18 22:21:06 -04:00
dwmac4_descs.c stmmac: fix PTP type ethtool stats 2016-11-15 19:56:17 -05:00
dwmac4_descs.h stmmac: fix PTP support for GMAC4 2016-11-15 19:56:17 -05:00
dwmac4_dma.c net: stmmac: clear reset value of snps, wr_osr_lmt/snps, rd_osr_lmt before writing 2016-12-06 10:33:48 -05:00
dwmac4_dma.h stmmac: add DMA support for GMAC 4.xx 2016-04-02 20:23:08 -04:00
dwmac4_lib.c stmmac: add DMA support for GMAC 4.xx 2016-04-02 20:23:08 -04:00
dwmac100.h stmmac: share reset function between dwmac100 and dwmac1000 2016-03-02 14:21:30 -05:00
dwmac100_core.c stmmac: rework synopsys id read, moved to dwmac setup 2016-04-02 20:23:07 -04:00
dwmac100_dma.c stmmac: rework DMA bus setting and introduce new platform AXI structure 2016-03-02 14:21:30 -05:00
dwmac1000.h drivers: net: stmmac: rework core ISR to better manage PCS and PMT 2016-06-28 08:54:23 -04:00
dwmac1000_core.c stmmac: Discard masked flags in interrupt status register 2017-02-18 15:11:41 +01:00
dwmac1000_dma.c net: stmmac: clear reset value of snps, wr_osr_lmt/snps, rd_osr_lmt before writing 2016-12-06 10:33:48 -05:00
dwmac_dma.h stmmac: rework DMA bus setting and introduce new platform AXI structure 2016-03-02 14:21:30 -05:00
dwmac_lib.c stmmac: share reset function between dwmac100 and dwmac1000 2016-03-02 14:21:30 -05:00
enh_desc.c stmmac: fix PTP type ethtool stats 2016-11-15 19:56:17 -05:00
mmc.h stmmac: enhance mmc counter management 2016-04-02 20:23:08 -04:00
mmc_core.c stmmac: enhance mmc counter management 2016-04-02 20:23:08 -04:00
norm_desc.c stmmac: rework the routines to show the ring status 2016-04-02 20:23:07 -04:00
ring_mode.c stmmac: first frame prep at the end of xmit routine 2016-03-02 14:21:33 -05:00
stmmac.h stmmac: fix PTP support for GMAC4 2016-11-15 19:56:17 -05:00
stmmac_ethtool.c stmmac: fix PTP type ethtool stats 2016-11-15 19:56:17 -05:00
stmmac_hwtstamp.c net: stmmac: Fix TX timestamp calculation 2018-03-03 10:23:23 +01:00
stmmac_main.c net: stmmac: enable EEE in MII, GMII or RGMII only 2018-01-17 09:38:53 +01:00
stmmac_mdio.c net: stmmac: Fix incorrect memcpy source memory 2016-05-25 21:43:35 -07:00
stmmac_pci.c stmmac: let remove/resume/suspend functions take device pointer 2016-05-03 15:22:19 -04:00
stmmac_pcs.h drivers: net: stmmac: reworking the PCS code. 2016-06-28 08:54:23 -04:00
stmmac_platform.c stmmac: add missing of_node_put 2017-07-05 14:40:20 +02:00
stmmac_platform.h net: ethernet: stmmac: fix of-node and fixed-link-phydev leaks 2016-12-02 10:42:47 -05:00
stmmac_ptp.c stmmac: fix PTP support for GMAC4 2016-11-15 19:56:17 -05:00
stmmac_ptp.h stmmac: update the PTP header file 2016-11-15 19:56:17 -05:00