mirror_ubuntu-kernels/drivers/net/ethernet/stmicro/stmmac
Jon Hunter 029c1c2059 net: stmmac: dwc-qos: Disable split header for Tegra194
There is a long-standing issue with the Synopsys DWC Ethernet driver
for Tegra194 where random system crashes have been observed [0]. The
problem occurs when the split header feature is enabled in the stmmac
driver. In the bad case, a larger than expected buffer length is
received and causes the calculation of the total buffer length to
overflow. This results in a very large buffer length that causes the
kernel to crash. Why this larger buffer length is received is not clear,
however, the feedback from the NVIDIA design team is that the split
header feature is not supported for Tegra194. Therefore, disable split
header support for Tegra194 to prevent these random crashes from
occurring.

[0] https://lore.kernel.org/linux-tegra/b0b17697-f23e-8fa5-3757-604a86f3a095@nvidia.com/

Fixes: 67afd6d1cf ("net: stmmac: Add Split Header support and enable it in XGMAC cores")
Signed-off-by: Jon Hunter <jonathanh@nvidia.com>
Link: https://lore.kernel.org/r/20220706083913.13750-1-jonathanh@nvidia.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2022-07-07 17:05:01 -07:00
..
altr_tse_pcs.c net: ethernet: stmmac: fix altr_tse_pcs function when using a fixed-link 2022-04-11 10:41:00 +01:00
altr_tse_pcs.h net: ethernet: stmmac: fix altr_tse_pcs function when using a fixed-link 2022-04-11 10:41:00 +01:00
chain_mode.c
common.h net: stmmac: bump tc when get underflow error from DMA descriptor 2021-12-13 12:20:35 +00:00
descs_com.h
descs.h
dwmac4_core.c ethernet: constify references to netdev->dev_addr in drivers 2021-10-14 09:22:11 -07:00
dwmac4_descs.c net: stmmac: remove unused get_addr() callback 2022-05-18 13:59:15 +01:00
dwmac4_descs.h
dwmac4_dma.c net: stmmac: fix get_hw_feature() on old hardware 2021-10-08 16:22:38 +01:00
dwmac4_dma.h
dwmac4_lib.c ethernet: constify references to netdev->dev_addr in drivers 2021-10-14 09:22:11 -07:00
dwmac4.h
dwmac5.c
dwmac5.h
dwmac100_core.c ethernet: constify references to netdev->dev_addr in drivers 2021-10-14 09:22:11 -07:00
dwmac100_dma.c
dwmac100.h
dwmac1000_core.c ethernet: constify references to netdev->dev_addr in drivers 2021-10-14 09:22:11 -07:00
dwmac1000_dma.c net: stmmac: fix get_hw_feature() on old hardware 2021-10-08 16:22:38 +01:00
dwmac1000.h
dwmac_dma.h net: stmmac: dump gmac4 DMA registers correctly 2022-01-31 21:21:10 -08:00
dwmac_lib.c ethernet: constify references to netdev->dev_addr in drivers 2021-10-14 09:22:11 -07:00
dwmac-anarion.c
dwmac-dwc-qos-eth.c net: stmmac: dwc-qos: Disable split header for Tegra194 2022-07-07 17:05:01 -07:00
dwmac-generic.c net: stmmac: add support for dwmac 3.40a 2021-10-08 16:22:39 +01:00
dwmac-imx.c net: stmmac: dwmac-imx: comment spelling fix 2022-04-26 17:28:31 -07:00
dwmac-ingenic.c
dwmac-intel-plat.c
dwmac-intel.c stmmac: intel: Fix an error handling path in intel_eth_pci_probe() 2022-06-07 11:56:29 +02:00
dwmac-intel.h
dwmac-ipq806x.c net: ethernet: stmmac: Do not use unreachable() in ipq806x_gmac_probe() 2021-08-07 09:45:46 +01:00
dwmac-loongson.c stmmac: dwmac-loongson: change loongson_dwmac_driver from global to static 2022-04-04 12:47:54 +01:00
dwmac-lpc18xx.c
dwmac-mediatek.c stmmac: dwmac-mediatek: add support for mt8195 2022-03-16 12:49:23 +00:00
dwmac-meson8b.c
dwmac-meson.c
dwmac-oxnas.c net: stmmac: dwmac-oxnas: Add support for OX810SE 2022-01-12 09:05:02 -08:00
dwmac-qcom-ethqos.c net: stmmac: dwmac-qcom-ethqos: Enable RGMII functional clock on resume 2022-03-24 17:48:02 -07:00
dwmac-rk.c net: stmmac: dwmac-rk: fix oob read in rk_gmac_setup 2021-12-16 10:47:48 +00:00
dwmac-socfpga.c net: ethernet: stmmac: fix write to sgmii_adapter_base 2022-04-22 16:31:56 -07:00
dwmac-sti.c
dwmac-stm32.c
dwmac-sun8i.c net: stmmac: dwmac-sun8i: add missing of_node_put() in sun8i_dwmac_register_mdio_mux() 2022-04-29 19:24:08 -07:00
dwmac-sunxi.c
dwmac-visconti.c net: stmmac: dwmac-visconti: No change to ETHER_CLOCK_SEL for unexpected speed request. 2022-01-28 14:28:30 +00:00
dwxgmac2_core.c ethernet: constify references to netdev->dev_addr in drivers 2021-10-14 09:22:11 -07:00
dwxgmac2_descs.c net: stmmac: remove unused get_addr() callback 2022-05-18 13:59:15 +01:00
dwxgmac2_dma.c net: stmmac: fix get_hw_feature() on old hardware 2021-10-08 16:22:38 +01:00
dwxgmac2.h
dwxlgmac2.h
enh_desc.c net: stmmac: remove unused get_addr() callback 2022-05-18 13:59:15 +01:00
hwif.c
hwif.h net: stmmac: remove unused get_addr() callback 2022-05-18 13:59:15 +01:00
Kconfig ethernet: fix PTP_1588_CLOCK dependencies 2021-08-13 17:49:05 -07:00
Makefile
mmc_core.c
mmc.h
norm_desc.c net: stmmac: remove unused get_addr() callback 2022-05-18 13:59:15 +01:00
ring_mode.c
stmmac_ethtool.c net: stmmac: dump gmac4 DMA registers correctly 2022-01-31 21:21:10 -08:00
stmmac_hwtstamp.c net: stmmac: Use readl_poll_timeout_atomic() in atomic state 2022-04-20 11:10:27 +01:00
stmmac_main.c net: stmmac: use dev_err_probe() for reporting mdio bus registration failure 2022-06-02 10:14:30 -07:00
stmmac_mdio.c net: stmmac: use dev_err_probe() for reporting mdio bus registration failure 2022-06-02 10:14:30 -07:00
stmmac_pci.c net: stmmac: fix missing pci_disable_device() on error in stmmac_pci_probe() 2022-05-10 19:12:57 -07:00
stmmac_pcs.h
stmmac_platform.c net: stmmac: Fix unset max_speed difference between DT and non-DT platforms 2022-04-01 21:37:31 -07:00
stmmac_platform.h
stmmac_ptp.c net: stmmac: optimize locking around PTP clock reads 2022-02-07 19:59:13 -08:00
stmmac_ptp.h
stmmac_selftests.c net: stmmac: fix out-of-bounds access in a selftest 2022-05-20 17:04:51 -07:00
stmmac_tc.c net: stmmac: add tc flower filter for EtherType matching 2021-12-23 11:20:49 +00:00
stmmac_xdp.c net: stmmac: enhance XDP ZC driver level switching performance 2021-11-15 12:56:34 +00:00
stmmac_xdp.h
stmmac.h net: stmmac: optimize locking around PTP clock reads 2022-02-07 19:59:13 -08:00