]> git.baikalelectronics.ru Git - kernel.git/commit
genirq: Don't allow per cpu interrupts to be suspended
authorMarc Zyngier <marc.zyngier@arm.com>
Wed, 16 Nov 2011 12:27:39 +0000 (12:27 +0000)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 17 Nov 2011 16:44:04 +0000 (17:44 +0100)
commit990bef482a3627c9f27863fa2dcbdd2c0daab589
treef8425da7c40d068d532cc53313eebdd3414e5047
parent0ab1727f0f7b4e7720d95664edbd0c915dc09585
genirq: Don't allow per cpu interrupts to be suspended

The power management functions related to interrupts do not know
(yet) about per-cpu interrupts and end up calling the wrong
low-level methods to enable/disable interrupts.

This leads to all kind of interesting issues (action taken on one
CPU only, updating a refcount which is not used otherwise...).

The workaround for the time being is simply to flag these interrupts
with IRQF_NO_SUSPEND. At least on ARM, these interrupts are actually
dealt with at the architecture level.

Reported-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
Tested-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Cc: linux-arm-kernel@lists.infradead.org
Link: http://lkml.kernel.org/r/1321446459-31409-1-git-send-email-marc.zyngier@arm.com
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
kernel/irq/manage.c