diff options
author | Thomas Gleixner <[email protected]> | 2017-05-31 11:58:33 +0200 |
---|---|---|
committer | Thomas Gleixner <[email protected]> | 2017-06-04 14:38:41 +0200 |
commit | 04c848d398797a626608ff48804d809ae6687163 (patch) | |
tree | 4225f152323a63dc6cf7cfbc124a22a300599530 /tools/perf/scripts/python/event_analyzing_sample.py | |
parent | 201d7f47f34bd7cb19161d0426f13b141e381f30 (diff) |
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 <[email protected]>
Signed-off-by: Thomas Gleixner <[email protected]>
Cc: [email protected]
Cc: jeffy <[email protected]>
Cc: Marc Zyngier <[email protected]>
Cc: [email protected]
Link: http://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions