]> www.infradead.org Git - users/hch/xfs.git/commit
mailbox: zynqmp: setup IPI for each valid child node
authorTanmay Shah <tanmay.shah@amd.com>
Tue, 12 Nov 2024 17:06:12 +0000 (09:06 -0800)
committerJassi Brar <jassisinghbrar@gmail.com>
Sun, 24 Nov 2024 19:07:50 +0000 (13:07 -0600)
commit98fc87fe2937db5a4948c553f69b5a3cc94c230a
treeb6c0080f47b7de292187e29606df35381e9333f9
parentb2cf36e4a2ac7a7a35e0e7025a6897e4e4fcf4f3
mailbox: zynqmp: setup IPI for each valid child node

As per zynqmp-ipi bindings, zynqmp IPI node can have multiple child nodes.
Current IPI setup function is set only for first child node. If IPI node
has multiple child nodes in the device-tree, then IPI setup fails for
child nodes other than first child node. In such case kernel will crash.
Fix this crash by registering IPI setup function for each available child
node.

Signed-off-by: Tanmay Shah <tanmay.shah@amd.com>
Signed-off-by: Jassi Brar <jassisinghbrar@gmail.com>
drivers/mailbox/zynqmp-ipi-mailbox.c