android_kernel_xiaomi_sm8350/kernel/irq
David Brownell 470c66239e genirq: warn when IRQF_DISABLED may be ignored
Impact: emit new warning

We periodically waste time tracking down problems from the genirq
framework not respecting IRQF_DISABLED for some shared IRQ cases.  Linus
views this as "will not fix", but we're still left with the bugs caused by
this misbehavior.

This patch adds a nag message in request_irq(), so that drivers can fix
their IRQ handlers to avoid this problem.

Note that developers will never see the relevant bugs when they run with
LOCKDEP, so it's no wonder these bugs are hard to find.  (That also means
LOCKDEP is overlooking some IRQ-related bugs involving IRQ handlers that
don't set IRQF_DISABLED...)

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Acked-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
2008-12-02 11:25:29 +01:00
..
autoprobe.c genirq: fix name space collision of nr_irqs in autoprobe.c 2008-10-16 16:53:30 +02:00
chip.c genirq: NULL struct irq_desc's member 'name' in dynamic_irq_cleanup() 2008-10-21 15:59:21 +02:00
devres.c kernel: explicitly include required header files under kernel/ 2008-04-29 08:06:04 -07:00
handle.c genirq: use iterators for irq_desc loops 2008-10-16 16:53:30 +02:00
internals.h irq: replace loop with nr_irqs with for_each_irq_desc 2008-10-16 16:52:33 +02:00
Makefile [PATCH] sort the devres mess out 2007-02-11 11:18:07 -08:00
manage.c genirq: warn when IRQF_DISABLED may be ignored 2008-12-02 11:25:29 +01:00
migration.c generic: sparse irqs: use irq_desc() together with dyn_array, instead of irq_desc[] 2008-10-16 16:52:29 +02:00
proc.c irq: make variable static 2008-10-22 07:37:17 +02:00
resend.c generic: sparse irqs: use irq_desc() together with dyn_array, instead of irq_desc[] 2008-10-16 16:52:29 +02:00
spurious.c genirq: cleanup the sparseirq modifications 2008-10-16 16:53:29 +02:00