linux/drivers/net/ethernet/freescale
Martin Roth 426f04684b 82xx: FCC: Fixing a bug causing to FCC port lock-up (second try)
This is an additional patch to the one already submitted recently.
The previous patch was not complete, and the FCC port lock-up scenario
has been reproduced in lab.
I had an opportunity to check the current patch in lab and the FCC
port lock no longer freezes, while the previous patch still locks-up the
FCC port.
The current patch fixes a pointer arithmetic bug (second bug in the same
line), which leads FCC port lock-up during underrun/collision handling.
Within the tx_startup() function in mac-fcc.c, the address of last BD is
not calculated correctly. As a result of wrong calculation of the last BD
address, the next transmitted BD may be set to an area out of the transmit
BD ring. This actually causes to port lock-up and it is not recoverable.

Signed-off-by: Martin Roth <martin.roth@motorolasolutions.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2016-01-25 10:47:01 -08:00
..
fman fsl/fman: Delete one function call "put_device" in dtsec_config() 2016-01-14 15:03:41 -05:00
fs_enet 82xx: FCC: Fixing a bug causing to FCC port lock-up (second try) 2016-01-25 10:47:01 -08:00
fec_main.c phy: Add API for {un}registering an mdio device to a bus. 2016-01-07 14:31:26 -05:00
fec_mpc52xx_phy.c mdio: Move allocation of interrupts into core 2016-01-07 14:31:26 -05:00
fec_mpc52xx.c net: mpc52xx: Use platform_register/unregister_drivers() 2015-12-03 15:14:58 -05:00
fec_mpc52xx.h
fec_ptp.c net: fec: avoid timespec use 2015-10-05 03:16:39 -07:00
fec.h net: fec: introduce fec_ptp_stop and use in probe fail path 2015-07-26 21:51:53 -07:00
fsl_pq_mdio.c powerpc updates for 4.5 2016-01-15 13:18:47 -08:00
gianfar_ethtool.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2015-11-01 00:15:30 -04:00
gianfar_ptp.c net: fsl: Fix error checking for platform_get_irq() 2015-11-30 15:19:44 -05:00
gianfar.c phy: Add an mdio_device structure 2016-01-07 14:31:26 -05:00
gianfar.h gianfar: Don't enable RX Filer if not supported 2015-12-16 18:31:00 -05:00
Kconfig fsl/fman: Add FMan MURAM support 2015-12-27 20:51:39 -05:00
Makefile fsl/fman: Add FMan MURAM support 2015-12-27 20:51:39 -05:00
ucc_geth_ethtool.c drivers/net: get rid of unnecessary initializations in .get_drvinfo() 2015-10-16 00:24:10 -07:00
ucc_geth.c powerpc updates for 4.5 2016-01-15 13:18:47 -08:00
ucc_geth.h QE: Move QE from arch/powerpc to drivers/soc 2015-12-22 17:12:56 -06:00
xgmac_mdio.c