]> 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)
commit12307b09949a29b1cbe400c1f3d859d7fb664065
treea4ddb3bab92356267a398fa16ff6d9d9f2f6f3a8
parenta0040683c2e1153d6bba19093e91dfc82641fb50
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: e775baa7d334 ("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