]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitfb57bee31609c1c460ee393a5afd26e5996005f4
treea4ddb3bab92356267a398fa16ff6d9d9f2f6f3a8
parent6799c9495d542843757f187c8617d36ebdf5d5ce
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: 15a4aeaac6fc ("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