If we ack IPI interrupt after checking vrings, it is
possible to miss some IPI interrupts. Ack the IPI
interrupts before checking the vrings to make sure
no IPI interrupts are missed.
Signed-off-by: Wendy Liang <wendy.liang@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
local = container_of(work, struct zynqmp_r5_pdata, workqueue);
+ (void)mbox_send_message(local->rx_chan, NULL);
rproc = local->rproc;
if (rproc->sysfs_kick) {
sysfs_notify(&rproc->dev.kobj, NULL, "remote_kick");
* And thus, we scan through all the registered notifyids.
*/
idr_for_each(&rproc->notifyids, event_notified_idr_cb, rproc);
- (void)mbox_send_message(local->rx_chan, NULL);
}
/**