openwrt-mirror/target/linux
Matthijs Kooijman d2ce3a61aa
ath79: fix packetloss on some WLR-7100
On some WLR-7100 routers, significant packet loss was observed. This is
fixed by configuring a delay on the GMAC0 RXD and RXDV lines.

The values used in this commit are copied from the values used by the
stock firmare (based on register dumping).

Out of four test routers, the problem was consistently observed on two.
It is unclear what the relevant difference is exactly (the two working
routers were v1 001 with AR1022 and v1 002 with AR9342, the two broken
routers were both v1 002 with AR1022). All PCB routing also seems
identical, so maybe there is some stray capacitance on some of these
that adds just enough delay or so...

With this change, the packet loss disappears on the broken routers,
without introducing new packet loss on the previously working routers.

Note that the PHY *also* has delays enabled (through
`qca,ar8327-initvals`) on both RX and TX lines, but apparently that is
not enough, or it is not effective (registers have been verified to be
written).

For detailed discussion of this issue and debug history, see
https://forum.openwrt.org/t/sitecom-wlr-7100-development-progress/79641

Signed-off-by: Matthijs Kooijman <matthijs@stdin.nl>
2023-09-17 16:39:10 +02:00
..
airoha kernel: bump 5.15 to 5.15.125 2023-08-09 22:06:24 +02:00
apm821xx apm821xx: fix autoloading of kmod-hw-crypto4xx 2023-07-08 15:38:42 +02:00
archs38 treewide: remove files for building 5.10 kernel 2023-05-12 13:02:43 +02:00
armsr armsr: armv8: fix invalid symbol value for FSL_ENETC_QOS 2023-08-15 15:55:00 +02:00
at91 treewide: remove files for building 5.10 kernel 2023-05-12 13:02:43 +02:00
ath25 kernel: bump 5.15 to 5.15.125 2023-08-09 22:06:24 +02:00
ath79 ath79: fix packetloss on some WLR-7100 2023-09-17 16:39:10 +02:00
bcm27xx kernel: bump 6.1 to 6.1.50 2023-09-01 21:01:08 +02:00
bcm47xx kernel: bump 5.15 to 5.15.129 2023-09-01 20:34:16 +02:00
bcm53xx bcm53xx: store a copy of NVRAM content in NVMEM driver 2023-09-01 11:37:16 +02:00
bcm63xx kernel: bump 5.15 to 5.15.125 2023-08-09 22:06:24 +02:00
bcm4908 kernel: bump 5.15 to 5.15.126 2023-08-13 13:03:43 +02:00
bmips kernel: bump 6.1 to 6.1.44 2023-08-09 20:39:20 -04:00
gemini gemini: Fix up kernel v6.1 config 2023-08-10 19:31:37 +02:00
generic kernel: backport two fixes for MediaTek Ethernet driver 2023-09-11 14:09:48 +01:00
imx kernel: backport NVMEM patches queued for the v6.5 2023-06-16 09:45:38 +02:00
ipq40xx ipq40xx: add support for Netgear RBX40 2023-09-16 12:08:03 +02:00
ipq806x ipq806x: Correct OnHub sysupgrade config logic 2023-09-12 23:36:30 +02:00
kirkwood kirkwood: add support for Iomega Storcenter ix4-200d 2023-05-20 15:35:37 +02:00
lantiq kernel: bump 5.15 to 5.15.125 2023-08-09 22:06:24 +02:00
layerscape generic: sync MediaTek Ethernet driver with upstream 2023-08-28 16:35:22 +01:00
malta kernel: remove CRYPTO_BLAKE2S from all >=5.15 2023-07-08 16:54:01 +02:00
mediatek mediatek: add support for Cetron CT3003 2023-09-08 23:17:26 +02:00
mpc85xx kernel: backport v6.6 nvmem changes 2023-08-31 00:49:29 +02:00
mvebu mvebu: cortexa72: enable USB PHY 2023-09-08 23:49:00 +02:00
mxs mxs: add testing kernel 6.1 2023-07-01 12:54:30 +02:00
octeon kernel: bump 5.15 to 5.15.125 2023-08-09 22:06:24 +02:00
octeontx kernel: bump 5.15 to 5.15.123 2023-07-30 18:02:47 +02:00
omap treewide: remove files for building 5.10 kernel 2023-05-12 13:02:43 +02:00
oxnas kernel: bump 5.15 to 5.15.125 2023-08-09 22:06:24 +02:00
pistachio treewide: cleanup kernel symbol references 2023-05-12 13:02:44 +02:00
qoriq kernel: fix handling of CONFIG_DYNAMIC_DEBUG 2023-05-03 10:26:17 -07:00
qualcommax kernel: backport v6.6 nvmem changes 2023-08-31 00:49:29 +02:00
ramips ramips: add support for mtk eip93 crypto engine 2023-09-12 14:57:54 +02:00
realtek generic: sync MediaTek Ethernet driver with upstream 2023-08-28 16:35:22 +01:00
rockchip rockchip: add support for Radxa ROCK Pi E 2023-09-05 00:20:51 +05:30
sifiveu kernel: bump 5.15 to 5.15.117 2023-06-16 19:44:28 +02:00
sunxi sunxi: use kernel 6.1 as default 2023-09-16 22:27:17 +02:00
tegra treewide: remove files for building 5.10 kernel 2023-05-12 13:02:43 +02:00
uml kernel: bump 5.15 to 5.15.125 2023-08-09 22:06:24 +02:00
x86 x86: geode: fix hwrng register accesses 2023-09-11 21:34:16 +02:00
zynq generic: enable CONFIG_ARM_CRYPTO for 32bit arm targets 2023-05-10 19:01:45 +02:00
Makefile