]> 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>
Wed, 17 May 2023 09:35:55 +0000 (11:35 +0200)
commit303009b9d998f94a838fbc61591836625ebd8e30
treea7fc1edc0e502fe766f55511a66494115e2151d0
parentf29e6386414419cb54403e089e7f504e1a996b87
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