openwrt/target/linux/ath79/patches-4.14
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
..
004-register_gpio_driver_earlier.patch kernel: bump 4.14 to 4.14.41 2018-05-18 09:10:46 +02:00
403-mtd_fix_cfi_cmdset_0002_status_check.patch kernel: bump 4.14 to 4.14.178 2020-05-04 21:05:21 +02:00
404-mtd-cybertan-trx-parser.patch kernel: bump 4.14 to 4.14.70 2018-09-17 15:47:44 +02:00
405-mtd-tp-link-partition-parser.patch kernel: bump 4.14 to 4.14.41 2018-05-18 09:10:46 +02:00
408-mtd-redboot_partition_scan.patch ath79: add support for jjPlus JA76PF2 2019-03-18 20:43:09 +01:00
420-net-ar71xx_mac_driver.patch kernel: bump 4.14 to 4.14.41 2018-05-18 09:10:46 +02:00
430-drivers-link-spi-before-mtd.patch kernel: bump 4.14 to 4.14.41 2018-05-18 09:10:46 +02:00
461-spi-ath79-add-fast-flash-read.patch ath79: replace patches 2018-08-28 11:26:53 +02:00
470-MIPS-ath79-swizzle-pci-address-for-ar71xx.patch kernel: bump 4.14 to 4.14.67 2018-08-28 23:05:39 +02:00
490-usb-ehci-add-quirks-for-qca-socs.patch kernel: Update to version 4.14.199 2020-09-28 01:04:35 +02:00
900-mdio_bitbang_ignore_ta_value.patch ath79: add new OF only target for QCA MIPS silicon 2018-05-07 08:06:51 +02:00
901-phy-mdio-bitbang-prevent-rescheduling-during-command.patch kernel: bump 4.14 to 4.14.41 2018-05-18 09:10:46 +02:00
910-unaligned_access_hacks.patch kernel: update kernel 4.14 to version 4.14.193 2020-08-11 00:12:50 +02:00
921-serial-core-add-support-for-boot-console-with-arbitr.patch ath79: restore support for boot console with arbitrary baud rates 2020-08-02 18:15:45 +02:00
930-ar8216-make-reg-access-atomic.patch ath79: ar8216: make switch register access atomic 2020-10-11 11:57:55 +08:00
0001-tty-serial-drop-QCA-pecific-SoC-symbols.patch kernel: bump 4.14 to 4.14.41 2018-05-18 09:10:46 +02:00
0002-watchdog-ath79-fix-maximum-timeout.patch kernel: bump 4.14 to 4.14.41 2018-05-18 09:10:46 +02:00
0003-leds-add-reset-controller-based-driver.patch ath79: led-resets: add default-trigger property 2018-06-16 10:08:51 +02:00
0004-phy-add-ath79-usb-phys.patch ath79: phy-ar7200-usb: adapt old behavior of arch/mips/ath79/dev-usb.c 2020-02-23 08:27:32 +01:00
0005-usb-add-more-OF-quirk-properties.patch kernel: bump 4.14 to 4.14.41 2018-05-18 09:10:46 +02:00
0006-usb-drop-deprecated-symbols.patch kernel: bump 4.14 to 4.14.41 2018-05-18 09:10:46 +02:00
0007-irqchip-irq-ath79-intc-add-irq-cascade-driver-for-QC.patch ath79: replace patches 2018-08-28 11:26:53 +02:00
0008-irqchip-irq-ath79-cpu-drop-OF-init-helper.patch ath79: replace patches 2018-08-28 11:26:53 +02:00
0009-MIPS-ath79-add-lots-of-missing-registers.patch ath79: replace patches 2018-08-28 11:26:53 +02:00
0010-MIPS-ath79-add-support-for-QCA953x-QCA956x-TP9343.patch kernel: bump 4.14 to 4.14.72 2018-09-26 15:54:18 +02:00
0011-MIPS-ath79-select-the-PINCTRL-subsystem.patch kernel: bump 4.14 to 4.14.79 2018-11-05 16:00:00 +01:00
0014-MIPS-ath79-finetune-cpu-overrides.patch ath79: replace patches 2018-08-28 11:26:53 +02:00
0015-MIPS-ath79-enable-uart-during-early_prink.patch ath79: replace patches 2018-08-28 11:26:53 +02:00
0016-MIPS-ath79-get-PCIe-controller-out-of-reset.patch ath79: replace patches 2018-08-28 11:26:53 +02:00
0017-dt-bindings-PCI-qcom-ar7100-adds-binding-doc.patch ath79: replace patches 2018-08-28 11:26:53 +02:00
0018-MIPS-pci-ar71xx-convert-to-OF.patch ath79: replace patches 2018-08-28 11:26:53 +02:00
0019-dt-bindings-PCI-qcom-ar7240-adds-binding-doc.patch ath79: replace patches 2018-08-28 11:26:53 +02:00
0020-MIPS-pci-ar724x-convert-to-OF.patch ath79: replace patches 2018-08-28 11:26:53 +02:00
0021-MIPS-ath79-add-helpers-for-setting-clocks-and-expose.patch ath79: replace patches 2018-08-28 11:26:53 +02:00
0022-MIPS-ath79-move-legacy-wdt-and-uart-clock-aliases-ou.patch ath79: replace patches 2018-08-28 11:26:53 +02:00
0023-MIPS-ath79-pass-PLL-base-to-clock-init-functions.patch ath79: replace patches 2018-08-28 11:26:53 +02:00
0024-MIPS-ath79-make-specifying-the-reference-clock-in-DT.patch ath79: replace patches 2018-08-28 11:26:53 +02:00
0025-MIPS-ath79-support-setting-up-clock-via-DT-on-all-So.patch ath79: replace patches 2018-08-28 11:26:53 +02:00
0026-MIPS-ath79-export-switch-MDIO-reference-clock.patch ath79: replace patches 2018-08-28 11:26:53 +02:00
0027-MIPS-ath79-drop-legacy-IRQ-code.patch kernel: bump 4.14 to 4.14.127 2019-06-18 14:49:13 +02:00
0028-MIPS-ath79-drop-machfiles.patch kernel: bump 4.14 to 4.14.127 2019-06-18 14:49:13 +02:00
0029-MIPS-ath79-drop-legacy-pci-code.patch ath79: replace patches 2018-08-28 11:26:53 +02:00
0030-MIPS-ath79-drop-platform-device-registration-code.patch ath79: replace patches 2018-08-28 11:26:53 +02:00
0031-MIPS-ath79-drop-OF-clock-code.patch ath79: replace patches 2018-08-28 11:26:53 +02:00
0032-MIPS-ath79-sanitize-symbols.patch kernel: bump 4.14 to 4.14.79 2018-11-05 16:00:00 +01:00
0033-spi-ath79-drop-pdata-support.patch ath79: replace patches 2018-08-28 11:26:53 +02:00
0034-MIPS-ath79-ath9k-exports.patch kernel: bump 4.14 to 4.14.44 2018-05-29 00:53:15 +03:00
0036-GPIO-add-named-gpio-exports.patch kernel: bump 4.14 to 4.14.118 2019-05-13 19:17:41 +02:00
0036-MIPS-ath79-remove-irq-code-from-pci.patch kernel: bump 4.14 to 4.14.67 2018-08-28 23:05:39 +02:00
0037-missing-registers.patch kernel: bump 4.14 to 4.14.67 2018-08-28 23:05:39 +02:00