openwrt/target/linux
Thomas Nixon 354ad1084a 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>
(cherry picked from commit d3b47909b1)
2023-04-02 22:07:26 +02:00
..
apm821xx kernel: bump 5.10 to 5.10.165 2023-01-28 20:08:14 +01:00
archs38 generic: enable CRYPTO_LIB_BLAKE2S[_X86|_ARM] 2022-06-27 22:34:07 +02:00
armvirt generic: enable CRYPTO_LIB_BLAKE2S[_X86|_ARM] 2022-06-27 22:34:07 +02:00
at91 kernel: bump 5.10 to 5.10.173 2023-03-27 18:58:34 +02:00
ath25 kernel: bump 5.10 to 5.10.137 2022-08-28 07:24:59 +02:00
ath79 ath79: Refresh patches 2023-04-01 19:46:06 +02:00
bcm27xx kernel: bump 5.10 to 5.10.175 2023-03-27 18:59:50 +02:00
bcm47xx kernel: bump 5.10 to 5.10.169 2023-03-27 18:57:41 +02:00
bcm53xx kernel: bump 5.10 to 5.10.165 2023-01-28 20:08:14 +01:00
bcm63xx kernel: bump 5.10 to 5.10.163 2023-01-28 20:07:11 +01:00
bcm4908 bcm4908: include usbport trigger 2023-03-27 09:03:24 +02:00
bmips kernel: bump 5.10 to 5.10.173 2023-03-27 18:58:34 +02:00
gemini generic: enable CRYPTO_LIB_BLAKE2S[_X86|_ARM] 2022-06-27 22:34:07 +02:00
generic kernel: add support for XMC XM25QH64C 2023-04-01 19:51:12 +02:00
imx imx: fix USB support 2022-03-11 00:04:05 +01:00
ipq40xx kernel: bump 5.10 to 5.10.176 2023-03-27 18:59:53 +02:00
ipq806x kernel: bump 5.10 to 5.10.175 2023-03-27 18:59:50 +02:00
kirkwood kernel: remove hack patch, move kirkwood specific kmods to target modules.mk 2022-12-27 08:05:23 +01:00
lantiq lantiq: nand: don't yield while holding spinlock 2023-04-02 22:07:26 +02:00
layerscape layerscape: Fix SPI-NOR issues with vendor patches 2022-11-29 22:53:39 +01:00
malta generic: enable CRYPTO_LIB_BLAKE2S[_X86|_ARM] 2022-06-27 22:34:07 +02:00
mediatek kernel: bump 5.10 to 5.10.175 2023-03-27 18:59:50 +02:00
mpc85xx mpc85xx: add support for Watchguard Firebox T10 2023-03-10 00:13:29 +01:00
mvebu kernel: bump 5.10 to 5.10.163 2023-01-28 20:07:11 +01:00
mxs generic: enable CRYPTO_LIB_BLAKE2S[_X86|_ARM] 2022-06-27 22:34:07 +02:00
octeon octeon: fix imagebuilder generation by introducing generic target 2022-10-23 14:21:03 +02:00
octeontx kernel: bump 5.10 to 5.10.173 2023-03-27 18:58:34 +02:00
omap generic: enable CRYPTO_LIB_BLAKE2S[_X86|_ARM] 2022-06-27 22:34:07 +02:00
oxnas kernel: bump 5.10 to 5.10.150 2022-11-01 13:56:10 +01:00
pistachio kernel: bump 5.10 to 5.10.173 2023-03-27 18:58:34 +02:00
qoriq qoriq: fix typo in FEATURES 2022-11-11 16:25:29 +02:00
ramips ramips: mt7621: ASUS RT-AX53U add NMBM, nest firmware 2023-04-02 12:24:07 +02:00
realtek kernel: bump 5.10 to 5.10.166 2023-02-05 20:43:19 +01:00
rockchip kernel: bump 5.10 to 5.10.159 2022-12-15 01:26:25 +01:00
sunxi sunxi: fix typo in device packages for MarsBoard A10 2022-12-22 00:14:30 +01:00
tegra kernel: bump 5.10 to 5.10.132 2022-07-30 17:21:47 +02:00
uml uml: fix 5.10 build 2023-01-03 01:24:21 +01:00
x86 x86: fix deprecated CONFIG_MICROCODE_OLD_INTERACE 2023-03-27 18:58:01 +02:00
zynq generic: enable CRYPTO_LIB_BLAKE2S[_X86|_ARM] 2022-06-27 22:34:07 +02:00
Makefile build: fix issues with targets installed via feeds 2022-09-27 13:45:03 +02:00