immortalwrt/target/linux
Chuanhong Guo 3b4c731d00
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>
2020-09-30 19:28:07 +08:00
..
apm821xx Merge Mainline 2020-09-28 13:14:47 +08:00
arc770 kernel: set WATCHDOG_CORE dependency in kmod-hwmon-sch5627 2020-08-25 12:25:14 +08:00
archs38 kernel: unify CONFIG_GPIO_SYSFS in kernel configs 2020-08-07 18:08:33 +08:00
armvirt kernel: set WATCHDOG_CORE dependency in kmod-hwmon-sch5627 2020-08-25 12:25:14 +08:00
at91 at91: explicitly set CONFIG_USB_SUPPORT for sam9x subtarget 2020-08-28 09:28:31 +08:00
ath25 ath25: fix preinit Ethernet port configuration 2020-09-11 17:18:17 +08:00
ath79 ath79: ar8216: make switch register access atomic 2020-09-30 19:28:07 +08:00
bcm27xx kernel: bump 5.4 to 5.4.67 2020-09-27 13:16:32 +08:00
bcm47xx Merge Mainline 2020-09-12 23:35:51 +08:00
bcm53xx kernel: package bcm53xx i2c module 2020-09-26 11:37:30 +08:00
bcm63xx target: update SPDX license names 2020-09-27 13:21:38 +08:00
cns3xxx Merge Mainline 2020-08-27 04:30:47 +08:00
gemini gemini: Bring up DSA switches 2020-09-26 11:39:30 +08:00
generic Merge Mainline 2020-09-28 16:05:06 +08:00
imx6 treewide: fix undeclared function about backup in upgrade 2020-08-14 12:28:09 +08:00
ipq40xx Merge Mainline 2020-09-28 16:05:06 +08:00
ipq806x kernel: bump 5.4 to 5.4.66 2020-09-19 18:51:53 +08:00
ipq807x kernel: unify CONFIG_GPIO_SYSFS in kernel configs 2020-08-07 18:08:33 +08:00
kirkwood target: update SPDX license names 2020-09-27 13:21:38 +08:00
lantiq Merge Mainline 2020-09-28 13:14:47 +08:00
layerscape kernel: bump 5.4 to 5.4.67 2020-09-27 13:16:32 +08:00
malta kernel: set WATCHDOG_CORE dependency in kmod-hwmon-sch5627 2020-08-25 12:25:14 +08:00
mediatek target: update SPDX license names 2020-09-27 13:21:38 +08:00
mpc85xx target: update SPDX license names 2020-09-27 13:21:38 +08:00
mvebu target: update SPDX license names 2020-09-27 13:21:38 +08:00
mxs kernel: unify CONFIG_GPIO_SYSFS in kernel configs 2020-08-07 18:08:33 +08:00
octeon octeon: determine sysupgrade-* directory for upgrade automatically 2020-08-18 11:38:20 +08:00
octeontx kernel: bump 5.4 to 5.4.60 2020-08-22 03:33:14 +08:00
omap kernel: unify CONFIG_GPIO_SYSFS in kernel configs 2020-08-07 18:08:33 +08:00
oxnas target: update SPDX license names 2020-09-27 13:21:38 +08:00
pistachio pistachio: Use kernel 5.4 by default 2020-08-29 01:35:07 +08:00
ramips Merge Mainline 2020-09-28 16:05:06 +08:00
rb532 kernel: unify CONFIG_GPIO_SYSFS in kernel configs 2020-08-07 18:08:33 +08:00
rockchip rockchip: refresh NanoPi R2S patches 2020-09-29 13:05:50 +08:00
rtl838x target: update SPDX license names 2020-09-27 13:21:38 +08:00
samsung kernel: Update kernel 4.14 to version 4.14.187 2020-07-05 11:53:32 +08:00
sunxi kernel: bump 5.4 to 5.4.63 2020-09-06 19:56:39 +08:00
tegra kernel: unify CONFIG_GPIO_SYSFS in kernel configs 2020-08-07 18:08:33 +08:00
uml uml: update to linux 5.4 2020-08-23 01:14:31 +08:00
x86 kernel: bump 5.4 to 5.4.63 2020-09-06 19:56:39 +08:00
zynq kernel: unify CONFIG_GPIO_SYSFS in kernel configs 2020-08-07 18:08:33 +08:00
Makefile build: add 'make kernel_xconfig' command 2020-07-09 12:03:26 +08:00