irqchip: armada-370-xp: Fix MSI interrupt handling
authorGrzegorz Jaszczyk <jaz@semihalf.com>
Thu, 25 Sep 2014 11:17:18 +0000 (13:17 +0200)
committerJason Cooper <jason@lakedaemon.net>
Sun, 2 Nov 2014 01:31:10 +0000 (01:31 +0000)
commit298dcb2dd0267d51e4f7c94a628cd0765a50ad75
tree03a25cac6c5204d7b88aaf074e7eb744414856e5
parentf114040e3ea6e07372334ade75d1ee0775c355e1
irqchip: armada-370-xp: Fix MSI interrupt handling

The MSI interrupts use the 16 high doorbells, which are notified by using IRQ1
of the main interrupt controller.

The MSI interrupts were handled correctly for Armada-XP and Armada-370 but not
for Armada-375 and Armada-38x, which use chained handler for the MPIC.

This commit fixes that by checking proper interrupt number in chained handler
for the MPIC.

Signed-off-by: Grzegorz Jaszczyk <jaz@semihalf.com>
Reviewed-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
Fixes: bc69b8adfe22 ("irqchip: armada-370-xp: Setup a chained handler for the MPIC")
Cc: <stable@vger.kernel.org> # v3.15+
Acked-by: Ezequiel Garcia <ezequiel.garcia@free-electrons.com>
Link: https://lkml.kernel.org/r/1411643839-64925-2-git-send-email-jaz@semihalf.com
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
drivers/irqchip/irq-armada-370-xp.c