openwrt/target/linux
Chuanhong Guo b21bea7b1b ath79: ar8216: make switch register access atomic
reg accesses on integrated ar8229 sometimes fails. As a result, phy read
got incorrect port status and wan link goes down and up mysteriously.
After comparing ar8216 with the old driver, these local_irq_save/restore
calls are the only meaningful differences I could find and it does fix
the issue.
The same changes were added in svn r26856 by Gabor Juhos:
ar71xx: ag71xx: make switch register access atomic

As I can't find the underlying problem either, this hack is broght
back to fix the unstable link issue.
This hack is only suitable for ath79 mdio and may easily break the
driver on other platform. Limit it to ath79-only as a target patch.

Fixes: FS#2216
Fixes: FS#3226
Signed-off-by: Chuanhong Guo <gch981213@gmail.com>
(cherry picked from commit 86fdc8abed)
2020-10-11 11:57:55 +08:00
..
apm821xx kernel: Update kernel 4.14 to version 4.14.195 2020-08-27 00:27:56 +02:00
ar71xx kernel: Update to version 4.14.199 2020-09-28 01:04:35 +02:00
arc770 treewide: use wpad-basic for not small flash targets 2018-10-16 15:07:41 +01:00
archs38 treewide: use wpad-basic for not small flash targets 2018-10-16 15:07:41 +01:00
armvirt armvirt,x86: fix build breakage of crypto ccp module 2020-07-05 13:33:31 +02:00
at91 at91: disable legacy PTYs and virtual terminals 2019-12-17 11:27:20 +02:00
ath25 kernel: bump 4.14 to 4.14.171 2020-02-24 14:20:14 +01:00
ath79 ath79: ar8216: make switch register access atomic 2020-10-11 11:57:55 +08:00
bcm53xx bcm53xx: add support for Luxul FullMAC WiFi devices 2020-04-07 15:51:11 +02:00
brcm47xx kernel: Update to version 4.14.199 2020-09-28 01:04:35 +02:00
brcm63xx kernel: Update to version 4.14.199 2020-09-28 01:04:35 +02:00
brcm2708 kernel: Update to version 4.14.199 2020-09-28 01:04:35 +02:00
cns3xxx kernel: Update kernel 4.14 to version 4.14.195 2020-08-27 00:27:56 +02:00
gemini kernel: bump 4.14 to 4.14.156 2019-11-29 10:00:35 +01:00
generic kernel: Update to version 4.14.199 2020-09-28 01:04:35 +02:00
imx6 treewide: remove 4.19 leftovers 2019-10-08 12:45:13 +02:00
ipq40xx kernel: Update kernel 4.14 to version 4.14.195 2020-08-27 00:27:56 +02:00
ipq806x ipq806x: EA8500 fix boot partition detection 2020-06-03 15:29:03 +02:00
kirkwood kirkwood: support for button in Pogoplug V4 2020-07-10 13:55:54 +02:00
lantiq kernel: Update to version 4.14.199 2020-09-28 01:04:35 +02:00
layerscape kernel: Update to version 4.14.199 2020-09-28 01:04:35 +02:00
malta malta: remove CONFIG_LEGACY_PTY from kernel config 2019-12-17 11:27:30 +02:00
mediatek kernel: Update kernel 4.14 to version 4.14.195 2020-08-27 00:27:56 +02:00
mpc85xx kernel: bump 4.14 to 4.14.171 2020-02-24 14:20:14 +01:00
mvebu mvebu: fix LAN/WAN port assignment on ClearFog Base/Pro 2020-08-07 17:13:40 +02:00
mxs kernel: bump 4.14 to 4.14.178 2020-05-04 21:05:21 +02:00
octeon treewide: remove 4.19 leftovers 2019-10-08 12:45:13 +02:00
octeontx kernel: bump 4.14 to 4.14.176 2020-04-16 13:23:52 +02:00
omap treewide: use new procd sysupgrade $UPGRADE_BACKUP variable 2019-09-12 13:27:29 +02:00
oxnas kernel: Update to version 4.14.199 2020-09-28 01:04:35 +02:00
pistachio kernel: Update kernel 4.14 to version 4.14.187 2020-07-04 19:22:23 +02:00
ramips Revert "ramips: ethernet: fix to interrupt handling" 2020-09-18 08:53:53 +02:00
rb532 kernel: bump 4.14 to 4.14.86 2018-12-10 11:48:44 +01:00
samsung kernel: fix nand_release() usage. 2020-07-04 21:04:11 +02:00
sunxi kernel: bump 4.14 to 4.14.169 2020-02-04 18:11:26 +01:00
tegra tegra: correct cpu subtype 2020-04-18 00:18:13 +02:00
uml uml: remove CONFIG_LEGACY_PTY from kernel config 2019-12-17 11:27:16 +02:00
x86 x86: Add CONFIG_EFI_CUSTOM_SSDT_OVERLAYS 2020-08-11 20:44:31 +02:00
zynq zynq: make title consistent for all devices 2019-05-17 21:41:43 +02:00
Makefile