openwrt/target/linux/lantiq/patches-5.10
Thomas Nixon d3b47909b1 lantiq: nand: don't yield while holding spinlock
The nand driver normally while waiting for the device to become ready;
this is normally fine, but xway_nand holds the ebu_lock spinlock, and
this can cause lockups if other threads which use ebu_lock are
interleaved. Fix this by waiting instead of polling.

This mainly showed up as crashes in ath9k_pci_owl_loader (see
https://github.com/openwrt/openwrt/issues/9829 ), but turning on
spinlock debugging shows this happening in other places too.

This doesn't seem to measurably impact boot time.

Tested on bt_homehub-v5a with 5.10 and 5.15.

Signed-off-by: Thomas Nixon <tom@tomn.co.uk>
[Add commit description into patch]
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2023-04-02 17:08:45 +02:00
..
0001-MIPS-lantiq-add-pcie-driver.patch kernel: bump 5.10 to 5.10.173 2023-03-20 22:44:28 +01:00
0004-MIPS-lantiq-add-atm-hack.patch
0008-MIPS-lantiq-backport-old-timer-code.patch
0018-MTD-nand-lots-of-xrx200-fixes.patch lantiq: kernel: xway-nand: Fix setting on-die ECC engines in dts 2021-10-02 16:45:33 +02:00
0020-MTD-lantiq-handle-NO_XIP-on-cfi0001-flash.patch
0023-NET-PHY-add-led-support-for-intel-xway.patch kernel: bump 5.10 to 5.10.37 2021-05-14 14:50:03 +01:00
0028-NET-lantiq-various-etop-fixes.patch kernel: bump 5.10 to 5.10.153 2022-11-05 16:26:00 +01:00
0031-I2C-MIPS-lantiq-add-FALC-ON-i2c-bus-master.patch
0035-owrt-lantiq-wifi-and-ethernet-eeprom-handling.patch
0042-arch-mips-increase-io_space_limit.patch
0050-USB-DWC2-make-the-lantiq-settings-match-vendor-drive.patch
0051-MIPS-lantiq-improve-USB-initialization.patch kernel: bump 5.10 to 5.10.118 2022-06-06 19:20:02 +02:00
0101-find_active_root.patch kernel: fix parsing fixed subpartitions 2021-05-06 14:53:25 +02:00
0151-lantiq-ifxmips_pcie-use-of.patch
0152-lantiq-VPE.patch kernel: bump 5.10 to 5.10.173 2023-03-20 22:44:28 +01:00
0154-lantiq-pci-bar11mask-fix.patch
0155-lantiq-VPE-nosmp.patch kernel: bump 5.10 to 5.10.173 2023-03-20 22:44:28 +01:00
0160-owrt-lantiq-multiple-flash.patch
0300-MTD-cfi-cmdset-0001-disable-buffered-writes.patch
0301-xrx200-add-gphy-clk-src-device-tree-binding.patch kernel: bump 5.10 to 5.10.118 2022-06-06 19:20:02 +02:00
0310-v5.16-MIPS-lantiq-dma-make-the-burst-length-configurable-b.patch lantiq: replace patches with version accepted upstream 2022-01-08 19:32:45 +01:00
0320-v6.1-MIPS-lantiq-enable-all-hardware-interrupts-on-second.patch kernel: bump 5.10 to 5.10.173 2023-03-20 22:44:28 +01:00
0400-mtd-rawnand-xway-don-t-yield-while-holding-spinlock.patch lantiq: nand: don't yield while holding spinlock 2023-04-02 17:08:45 +02:00
0701-NET-lantiq-etop-of-mido.patch
0702-v5.16-net-lantiq-add-support-for-jumbo-frames.patch lantiq: xrx200: enable use of baby jumbo frames 2022-01-16 20:51:14 +01:00
0703-v5.16-net-lantiq_xrx200-increase-buffer-reservation.patch lantiq: xrx200: replace patch with upstream version 2022-03-25 18:14:13 +01:00
0704-v5.17-net-lantiq_xrx200-add-ingress-SG-DMA-support.patch lantiq: xrx200: replace patch with upstream version 2022-03-25 18:14:13 +01:00
0705-v5.13-net-dsa-lantiq-allow-to-use-all-GPHYs-on-xRX300-and-.patch kernel: bump 5.10 to 5.10.122 2022-06-27 00:57:15 +02:00
0706-v5.18-net-lantiq-enable-jumbo-frames-on-GSWIP.patch kernel: bump 5.10 to 5.10.114 2022-05-16 20:26:38 +02:00
0710-v5.16-net-lantiq-configure-the-burst-length-in-ethernet-dr.patch lantiq: xrx200: enable use of baby jumbo frames 2022-01-16 20:51:14 +01:00
0711-v5.16-net-lantiq_xrx200-Hardcode-the-burst-length-value.patch lantiq: xrx200: enable use of baby jumbo frames 2022-01-16 20:51:14 +01:00
0712-v5.16-net-ethernet-lantiq_etop-Fix-compilation-error.patch lantiq: replace patches with version accepted upstream 2022-01-08 19:32:45 +01:00
0713-v5.17-MIPS-lantiq-dma-increase-descritor-count.patch lantiq: xrx200: fix use after free bug 2022-03-08 18:33:42 +01:00
0714-v5.17-net-lantiq_xrx200-increase-napi-poll-weigth.patch lantiq: xrx200: fix use after free bug 2022-03-08 18:33:42 +01:00
0715-v5.17-net-lantiq_xrx200-convert-to-build_skb.patch lantiq: xrx200: fix use after free bug 2022-03-08 18:33:42 +01:00
0716-v5.17-net-lantiq_xrx200-fix-use-after-free-bug.patch lantiq: xrx200: fix use after free bug 2022-03-08 18:33:42 +01:00
0717-v6.0-net-lantiq_xrx200-confirm-skb-is-allocated-before-us.patch lantiq: xrx200: backport upstream network fixes 2022-09-11 01:30:11 +02:00
0718-v6.0-net-lantiq_xrx200-fix-lock-under-memory-pressure.patch lantiq: xrx200: backport upstream network fixes 2022-09-11 01:30:11 +02:00
0719-v6.0-net-lantiq_xrx200-restore-buffer-if-memory-allocatio.patch lantiq: xrx200: backport upstream network fixes 2022-09-11 01:30:11 +02:00