irqchip/eznps: Acknowledge NPS_IPI before calling the handler
authorNoam Camus <noamca@mellanox.com>
Thu, 13 Oct 2016 13:15:32 +0000 (16:15 +0300)
committerThomas Gleixner <tglx@linutronix.de>
Fri, 14 Oct 2016 12:26:54 +0000 (14:26 +0200)
commitc0ca8df717061ae3d2ea624024033103c64210ae
treea4ddb3bab92356267a398fa16ff6d9d9f2f6f3a8
parent65543b3353e7d29d258aac4190cda6a2f49abeb3
irqchip/eznps: Acknowledge NPS_IPI before calling the handler

IPI_IRQ (also TIMER0_IRQ) should be acked before the action->handler is called
in handle_percpu_devid_irq.

The IPI irq is edge sensitive and we might miss an IPI interrupt if it is
triggered again while the handler runs.

Fixes: 44df427c894a ("irqchip: add nps Internal and external irqchips")
Signed-off-by: Noam Camus <noamca@mellanox.com>
Cc: marc.zyngier@arm.com
Cc: jason@lakedaemon.net
Cc: stable@vger.kernel.org
Link: http://lkml.kernel.org/r/1476364532-12634-1-git-send-email-noamca@mellanox.com
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
drivers/irqchip/irq-eznps.c