kernel_optimize_test/kernel/irq
Thomas Gleixner 04c848d398 genirq: Warn when IRQ_NOAUTOEN is used with shared interrupts
Shared interrupts do not go well with disabling auto enable:

1) The sharing interrupt might request it while it's still disabled and
   then wait for interrupts forever.

2) The interrupt might have been requested by the driver sharing the line
   before IRQ_NOAUTOEN has been set. So the driver which expects that
   disabled state after calling request_irq() will not get what it wants.
   Even worse, when it calls enable_irq() later, it will trigger the
   unbalanced enable_irq() warning.

Reported-by: Brian Norris <briannorris@chromium.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: dianders@chromium.org
Cc: jeffy <jeffy.chen@rock-chips.com>
Cc: Marc Zyngier <marc.zyngier@arm.com>
Cc: tfiga@chromium.org
Link: http://lkml.kernel.org/r/20170531100212.210682135@linutronix.de
2017-06-04 14:38:41 +02:00
..
affinity.c genirq/affinity: Fix calculating vectors to assign 2017-04-20 16:03:09 +02:00
autoprobe.c
chip.c genirq: Warn when IRQ_NOAUTOEN is used with shared interrupts 2017-06-04 14:38:41 +02:00
cpuhotplug.c
debug.h
devres.c genirq/devres: Use dev_name(dev) as default for devname 2017-02-12 19:49:25 +01:00
dummychip.c
generic-chip.c genirq/generic_chip: Verify irqs_per_chip <= 32 2016-09-02 20:20:59 +02:00
handle.c
internals.h
ipi.c genirq: Fix missing irq allocation affinity hint 2016-07-19 10:49:47 +02:00
irqdesc.c genirq: Make early_irq_init() print out more informative 2017-05-26 14:54:05 +02:00
irqdomain.c irqdomain: Let irq_domain_mapping display ACPI fwnode attributes 2017-05-22 22:29:44 +02:00
Kconfig
Makefile
manage.c genirq: Warn when IRQ_NOAUTOEN is used with shared interrupts 2017-06-04 14:38:41 +02:00
migration.c
msi.c genirq/msi: Populate the domain name if provided by the irqchip 2017-05-22 22:29:45 +02:00
pm.c
proc.c genirq: Fix /proc/interrupts output alignment 2017-02-10 20:17:52 +01:00
resend.c
settings.h
spurious.c genirq: Clarify logic calculating bogus irqreturn_t values 2017-02-16 15:32:19 +01:00