openwrt/target/linux
Sander Vanheule bde6311569 realtek: don't unmask non-maskable GPIO IRQs
On uniprocessor builds, for_each_cpu(cpu, mask) will assume 'mask'
always contains exactly one CPU, and ignore the actual mask contents.
This causes the loop to run, even when it shouldn't on an empty mask,
and tries to access an uninitialised pointer.

Fix this by wrapping the loop in a cpumask_empty() check, to ensure it
will not run on uniprocessor builds if the CPU mask is empty.

Fixes: af6cd37f42 ("realtek: replace RTL93xx GPIO patches")
Reported-by: INAGAKI Hiroshi <musashino.open@gmail.com>
Reported-by: Robert Marko <robimarko@gmail.com>
Tested-by: Robert Marko <robimarko@gmail.com>
Signed-off-by: Sander Vanheule <sander@svanheule.net>
2022-05-30 07:21:03 +02:00
..
apm821xx kernel: bump 5.10 to 5.10.114 2022-05-16 20:26:38 +02:00
archs38 kernel: delete Linux 5.4 config and patches 2022-03-21 11:36:30 +00:00
armvirt armvirt: 64: enable driver for QEMU' supported watchdog 2022-05-07 14:31:21 +02:00
at91 config: limit CONFIG_DEBUG_INFO to top-level generic configs 2022-05-18 13:32:06 +03:00
ath25 generic: 5.15: rework hack patch 2022-03-27 00:07:34 +00:00
ath79 ath79: fix label MAC address for D-Link DIR-825B1 2022-05-29 00:00:52 +02:00
bcm27xx bcm27xx: add pwm-fan dependency to RPi PoE 2022-05-22 22:06:13 +02:00
bcm47xx kernel: delete Linux 5.4 config and patches 2022-03-21 11:36:30 +00:00
bcm53xx config: limit CONFIG_DEBUG_INFO to top-level generic configs 2022-05-18 13:32:06 +03:00
bcm63xx bcm63xx: add linux v5.15 support 2022-05-20 15:53:16 +02:00
bcm4908 kernel: delete Linux 5.4 config and patches 2022-03-21 11:36:30 +00:00
bmips bmips: dgnd3700v2: fix network config 2022-05-23 21:05:59 +02:00
gemini gemini: Bump kernel to v5.15 2022-04-14 10:12:34 +02:00
generic kernel: backport flow offload fixes 2022-05-27 14:15:43 +02:00
imx kernel: bump 5.15 to 5.15.32 2022-04-09 19:31:46 +02:00
ipq40xx ipq40xx: cut ath10k board file for mikrotik subtarget 2022-05-27 14:15:09 +02:00
ipq806x ipq-wifi: drop upstreamed board-2.bin 2022-05-14 11:08:45 +02:00
kirkwood kirkwood: set testing kernel version to 5.15 2022-05-01 13:40:13 +09:00
lantiq kernel: bump 5.10 to 5.10.114 2022-05-16 20:26:38 +02:00
layerscape config: limit CONFIG_DEBUG_INFO to top-level generic configs 2022-05-18 13:32:06 +03:00
malta malta: use default OpenWrt network configuration 2022-05-28 17:35:34 +02:00
mediatek mediatek: mt7622: add support for ELECOM WRC-X3200GST3 2022-05-21 22:27:01 +01:00
mpc85xx mpc85xx: enable error reporting for RAM and PCIe 2022-05-14 11:08:45 +02:00
mvebu config: limit CONFIG_DEBUG_INFO to top-level generic configs 2022-05-18 13:32:06 +03:00
mxs kernel: move some symbols to generic config 2022-04-09 19:31:46 +02:00
octeon kernel: move some symbols to generic config 2022-04-09 19:31:46 +02:00
octeontx kernel: bump 5.10 to 5.10.110 2022-04-09 19:31:46 +02:00
omap config: limit CONFIG_DEBUG_INFO to top-level generic configs 2022-05-18 13:32:06 +03:00
oxnas kernel: bump 5.10 to 5.10.112 2022-04-23 20:46:25 +02:00
pistachio kernel: bump 5.10 to 5.10.95 2022-02-01 23:34:07 +00:00
qoriq config: limit CONFIG_DEBUG_INFO to top-level generic configs 2022-05-18 13:32:06 +03:00
ramips ramips: disable unsupported background-radar 2022-05-29 00:00:39 +02:00
realtek realtek: don't unmask non-maskable GPIO IRQs 2022-05-30 07:21:03 +02:00
rockchip kernel: include CONFIG_KEXEC_SIG in configs 2022-03-15 08:33:45 +01:00
sunxi kernel: move some symbols to generic config 2022-04-09 19:31:46 +02:00
tegra kernel: delete Linux 5.4 config and patches 2022-03-21 11:36:30 +00:00
uml uml: make use of 'rootfs-part' feature 2022-01-23 19:48:31 +00:00
x86 kernel/x86: move x86' specific watchdogs to the x86 target 2022-05-07 14:31:22 +02:00
zynq kernel: delete Linux 5.4 config and patches 2022-03-21 11:36:30 +00:00
Makefile target: use SPDX license identifiers on Makefiles 2021-02-10 15:47:18 +01:00