]> git.baikalelectronics.ru Git - kernel.git/commit
mailbox: zynqmp: Fix IPI isr handling
authorTanmay Shah <tanmay.shah@amd.com>
Sat, 11 Mar 2023 01:24:05 +0000 (17:24 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 11 May 2023 14:03:40 +0000 (23:03 +0900)
commit4521be602cf6f7e7afc8d733483b4c89d041f538
tree1f83fbf45ddff9885151e3a31f887cb19134546a
parentf0cb0502ca2162cbbe15b11940fbd929d820ec31
mailbox: zynqmp: Fix IPI isr handling

commit 74ad37a30ffee3643bc34f9ca7225b20a66abaaf upstream.

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: ac21f3391114 ("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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/mailbox/zynqmp-ipi-mailbox.c