mailbox: omap: Remove kernel FIFO message queuing
authorAndrew Davis <afd@ti.com>
Wed, 10 Apr 2024 13:59:42 +0000 (08:59 -0500)
committerJassi Brar <jassisinghbrar@gmail.com>
Mon, 20 May 2024 03:29:44 +0000 (22:29 -0500)
commit3f58c1f4206f37d0af4595a9046c76016334b301
treeb7c92c7909987b77503bf29d9a8d13e3fff7497d
parent04a07a3441481157e7aeb212c9405123c80e65b9
mailbox: omap: Remove kernel FIFO message queuing

The kernel FIFO queue has a couple issues. The biggest issue is that
it causes extra latency in a path that can be used in real-time tasks,
such as communication with real-time remote processors.

The whole FIFO idea itself looks to be a leftover from before the
unified mailbox framework. The current mailbox framework expects
mbox_chan_received_data() to be called with data immediately as it
arrives. Remove the FIFO and pass the messages to the mailbox
framework directly as part of a threaded IRQ handler.

Signed-off-by: Andrew Davis <afd@ti.com>
Signed-off-by: Jassi Brar <jassisinghbrar@gmail.com>
drivers/mailbox/Kconfig
drivers/mailbox/omap-mailbox.c