Openwrt/target/linux/ath79/patches-5.4
Chuanhong Guo 86fdc8abed 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 15:56:05 +08:00
..
004-register_gpio_driver_earlier.patch
404-mtd-cybertan-trx-parser.patch
408-mtd-redboot_partition_scan.patch
410-spi-ath79-Implement-the-spi_mem-interface.patch
420-net-use-downstream-ag71xx.patch
425-at803x-allow-sgmii-aneg-override.patch
430-drivers-link-spi-before-mtd.patch
440-mtd-ar934x-nand-driver.patch
470-MIPS-ath79-swizzle-pci-address-for-ar71xx.patch
900-mdio_bitbang_ignore_ta_value.patch
901-phy-mdio-bitbang-prevent-rescheduling-during-command.patch
910-unaligned_access_hacks.patch
920-mikrotik-rb4xx.patch
921-serial-core-add-support-for-boot-console-with-arbitr.patch
930-ar8216-make-reg-access-atomic.patch
0002-watchdog-ath79-fix-maximum-timeout.patch
0003-leds-add-reset-controller-based-driver.patch
0004-phy-add-ath79-usb-phys.patch
0005-usb-add-more-OF-quirk-properties.patch
0007-irqchip-irq-ath79-intc-add-irq-cascade-driver-for-QC.patch
0008-irqchip-irq-ath79-cpu-drop-OF-init-helper.patch
0011-MIPS-ath79-select-the-PINCTRL-subsystem.patch
0017-dt-bindings-PCI-qcom-ar7100-adds-binding-doc.patch
0018-MIPS-pci-ar71xx-convert-to-OF.patch
0019-dt-bindings-PCI-qcom-ar7240-adds-binding-doc.patch
0020-MIPS-pci-ar724x-convert-to-OF.patch
0032-MIPS-ath79-sanitize-symbols.patch
0033-spi-ath79-drop-pdata-support.patch
0034-MIPS-ath79-ath9k-exports.patch
0036-GPIO-add-named-gpio-exports.patch
0036-MIPS-ath79-remove-irq-code-from-pci.patch
0037-missing-registers.patch
0038-MIPS-ath79-add-missing-QCA955x-GMAC-registers.patch
0039-MIPS-ath79-export-UART1-reference-clock.patch
0050-spi-ath79-remove-spi-master-setup-and-cleanup-assign.patch
0051-spi-add-driver-for-ar934x-spi-controller.patch
0060-serial-ar933x_uart-set-UART_CS_-RX-TX-_READY_ORIDE.patch
0061-tty-serial-ar933x-uart-rs485-gpio.patch
0062-MIPS-pci-ar724x-add-QCA9550-reset-sequence.patch