1
0
Fork 0
forked from mirror/openwrt
openwrt/target/linux
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
..
airoha
apm821xx apm821xx: Migrate to libdeflate 2023-03-26 16:39:37 +02:00
archs38
armvirt
at91 kernel: bump 5.10 to 5.10.173 2023-03-20 22:44:28 +01:00
ath25
ath79 ath79: Add Aruba AP-175 support 2023-03-27 00:27:59 +02:00
bcm27xx kernel: bump 5.15 to 5.15.105 2023-04-01 19:58:44 +02:00
bcm47xx bcm47xx: enable adm6996 only on legacy subtarget 2023-03-27 01:25:03 +02:00
bcm53xx
bcm63xx
bcm4908
bmips bmips: bcm6362/bcm63268: enable HW RNG 2023-03-31 17:52:03 +02:00
gemini
generic kernel: backport upstreamed DSA B53 MMAP patch 2023-04-01 22:39:35 +02:00
imx
ipq40xx ipq40xx: add LED functions for Google WiFi 2023-03-31 19:39:36 +02:00
ipq806x ipq806x: Fix Linksys upgrade, restore config step 2023-04-02 12:22:37 +00:00
ipq807x ipq807x: add support for Netgear WAX218 2023-03-20 11:40:36 -05:00
kirkwood
lantiq lantiq: nand: don't yield while holding spinlock 2023-04-02 17:08:45 +02:00
layerscape
malta
mediatek mediatek: re-add wireless driver for TUF-AX4200 2023-03-29 17:03:42 +02:00
mpc85xx mpc85xx: Refresh patches 2023-03-24 00:42:47 +01:00
mvebu
mxs
octeon
octeontx
omap
oxnas
pistachio kernel: bump 5.10 to 5.10.173 2023-03-20 22:44:28 +01:00
qoriq
ramips ramips: mt7621: add migration script for WLAN PCI paths 2023-04-01 22:32:13 +02:00
realtek generic: net: pcs: add driver for MediaTek SGMII PCS 2023-03-27 19:07:54 +01:00
rockchip
sunxi
tegra
uml
x86 x86: fix deprecated CONFIG_MICROCODE_OLD_INTERACE 2023-03-20 22:44:20 +01:00
zynq
Makefile