mailbox: zynqmp: Fix IPI isr handling
authorTanmay Shah <tanmay.shah@amd.com>
Sat, 11 Mar 2023 01:24:05 +0000 (17:24 -0800)
committerMathieu Poirier <mathieu.poirier@linaro.org>
Tue, 14 Mar 2023 19:28:04 +0000 (13:28 -0600)
commit74ad37a30ffee3643bc34f9ca7225b20a66abaaf
treef285135adff3a74594f054d449b93b85746fa47d
parentf72f805e72882c361e2a612c64a6e549f3da7152
mailbox: zynqmp: Fix IPI isr handling

Multiple IPI channels are mapped to same interrupt handler.
Current isr implementation handles only one channel per isr.
Fix this behavior by checking isr status bit of all child
mailbox nodes.

Fixes: 4981b82ba2ff ("mailbox: ZynqMP IPI mailbox controller")
Signed-off-by: Tanmay Shah <tanmay.shah@amd.com>
Acked-by: Michal Simek <michal.simek@amd.com>
Cc: stable@vger.kernel.org
Link: https://lore.kernel.org/r/20230311012407.1292118-3-tanmay.shah@amd.com
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
drivers/mailbox/zynqmp-ipi-mailbox.c