Revision 19dbdcb8039cff16669a05136a29180778d16d0a authored by Peter Zijlstra on 18 July 2019, 09:20:09 UTC, committed by Thomas Gleixner on 20 July 2019, 09:27:16 UTC
It's clearly documented that smp function calls cannot be invoked from
softirq handling context. Unfortunately nothing enforces that or emits a
warning.

A single function call can be invoked from softirq context only via
smp_call_function_single_async().

The only legit context is task context, so add a warning to that effect.

Reported-by: luferry <luferry@163.com>
Signed-off-by: Peter Zijlstra <peterz@infradead.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lkml.kernel.org/r/20190718160601.GP3402@hirez.programming.kicks-ass.net
1 parent 22051d9
History
File Mode Size
fsl-mc
Kconfig -rw-r--r-- 5.5 KB
Makefile -rw-r--r-- 1.0 KB
arm-cci.c -rw-r--r-- 15.5 KB
brcmstb_gisb.c -rw-r--r-- 10.8 KB
da8xx-mstpri.c -rw-r--r-- 5.9 KB
hisi_lpc.c -rw-r--r-- 16.6 KB
imx-weim.c -rw-r--r-- 6.3 KB
mips_cdmm.c -rw-r--r-- 19.1 KB
mvebu-mbus.c -rw-r--r-- 36.4 KB
omap-ocp2scp.c -rw-r--r-- 3.1 KB
omap_l3_noc.c -rw-r--r-- 10.6 KB
omap_l3_noc.h -rw-r--r-- 12.3 KB
omap_l3_smx.c -rw-r--r-- 7.1 KB
omap_l3_smx.h -rw-r--r-- 7.3 KB
qcom-ebi2.c -rw-r--r-- 10.5 KB
simple-pm-bus.c -rw-r--r-- 1.3 KB
sun50i-de2.c -rw-r--r-- 1.1 KB
sunxi-rsb.c -rw-r--r-- 19.0 KB
tegra-aconnect.c -rw-r--r-- 2.9 KB
tegra-gmi.c -rw-r--r-- 7.5 KB
ti-sysc.c -rw-r--r-- 51.7 KB
ts-nbus.c -rw-r--r-- 8.9 KB
uniphier-system-bus.c -rw-r--r-- 7.4 KB
vexpress-config.c -rw-r--r-- 4.3 KB

back to top