immortalwrt/target/linux
Chuanhong Guo 566f57591d
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-17 18:38:35 +08:00
..
apm821xx kernel: bump 4.19 to 4.19.148 2020-09-30 21:08:22 +08:00
ar7 kernel: bump 4.9 to 4.9.237 2020-09-30 20:08:29 +08:00
ar71xx kernel: bump 4.9 to 4.9.238 2020-10-03 01:14:39 +08:00
arc770 update target 2019-08-19 22:26:19 +08:00
archs38 update target 2019-08-19 22:26:19 +08:00
armvirt update target 2019-08-19 22:26:19 +08:00
at91 at91: switch to 4.14 (#3040) 2020-02-11 17:26:30 +08:00
ath25 target: replace remaining occurrences of ifconfig with ip 2020-08-03 20:58:21 +08:00
ath79 ath79: ar8216: make switch register access atomic 2020-10-17 18:38:35 +08:00
bcm27xx kernel: bump 4.19 to 4.19.148 2020-09-30 21:08:22 +08:00
bcm53xx kernel: bump 4.19 to 4.19.149 2020-10-01 21:53:50 +08:00
brcm47xx kernel: bump 4.19 to 4.19.145 2020-09-12 23:08:12 +08:00
brcm63xx kernel: bump 4.19 to 4.19.148 2020-09-30 21:08:22 +08:00
cns3xxx kernel: bump to 4.9.234, 4.14.195, 4.19.142 2020-08-27 04:27:45 +08:00
gemini gemini: Add swap partition to DNS-313 2020-08-03 00:21:24 +08:00
generic linux/generic: remove obsolete config option LEDS_TRIGGER_IDE_DISK 2020-10-13 18:37:58 +08:00
imx6 kernel: bump 4.19 to 4.19.110 2020-03-19 17:50:48 +08:00
ipq40xx kernel: bump 4.19 to 4.19.149 2020-10-01 21:53:50 +08:00
ipq806x treewide: remove empty default cases 2020-09-18 16:37:37 +08:00
ipq807x ipq807x: add very basic target support 2020-02-29 22:59:08 -08:00
ixp4xx kernel: bump 4.9 to 4.9.238 2020-10-03 01:14:39 +08:00
kirkwood treewide: omit IMAGE_SIZE argument from check-size 2020-07-30 23:44:37 +08:00
lantiq kernel: bump 4.19 to 4.19.149 2020-10-01 21:53:50 +08:00
layerscape kernel: bump 4.14 to 4.14.200 2020-10-01 21:53:20 +08:00
malta update target 2019-08-19 22:26:19 +08:00
mediatek kernel: bump 4.19 to 4.19.149 2020-10-01 21:53:50 +08:00
mpc85xx kernel: bump to 4.9.214, 4.14.171, 4.19.106 (#3375) 2020-02-29 16:28:07 +08:00
mvebu kernel: bump to 4.9.234, 4.14.195, 4.19.142 2020-08-27 04:27:45 +08:00
mxs kernel: bump 4.14 to 4.14.177 2020-05-03 19:32:54 +08:00
octeon update target 2019-08-19 22:26:19 +08:00
octeontx kernel: bump to 4.9.219, 4.14.176, 4.19.115 (#4350) 2020-04-17 11:50:34 +08:00
omap update target 2019-08-19 22:26:19 +08:00
orion update target 2019-08-19 22:26:19 +08:00
oxnas oxnas: fix qc_prep return in sata driver after kernel 4.14.200 2020-10-17 18:37:26 +08:00
pistachio kernel: bump 4.14 to 4.14.186 2020-06-25 23:30:20 +08:00
ramips kernel: bump 4.14 to 4.14.200 2020-10-01 21:53:20 +08:00
rb532 build: allow overriding default selection state for devices 2019-10-19 11:35:16 -07:00
samsung kernel: Update kernel 4.14 to version 4.14.187 2020-07-05 11:53:32 +08:00
sunxi sunxi: switch to kernel 4.14 2020-09-05 14:41:44 +08:00
tegra kernel: bump to 4.14.167, 4.19.98 (#2871) 2020-01-30 01:43:29 +08:00
uml update target 2019-08-19 22:26:19 +08:00
x86 x86: apply MMC config to kernel 4.9 2020-10-07 03:06:34 +08:00
zynq update target 2019-08-19 22:26:19 +08:00
Makefile build: add 'make kernel_xconfig' command 2020-07-09 12:03:26 +08:00