diff options
author | Andrew Davis <afd@ti.com> | 2024-04-10 15:59:42 +0200 |
---|---|---|
committer | Jassi Brar <jassisinghbrar@gmail.com> | 2024-05-20 05:29:44 +0200 |
commit | 3f58c1f4206f37d0af4595a9046c76016334b301 (patch) | |
tree | b7c92c7909987b77503bf29d9a8d13e3fff7497d /drivers/mailbox/Kconfig | |
parent | mailbox: omap: Reverse FIFO busy check logic (diff) | |
download | linux-3f58c1f4206f37d0af4595a9046c76016334b301.tar.xz linux-3f58c1f4206f37d0af4595a9046c76016334b301.zip |
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>
Diffstat (limited to 'drivers/mailbox/Kconfig')
-rw-r--r-- | drivers/mailbox/Kconfig | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/drivers/mailbox/Kconfig b/drivers/mailbox/Kconfig index 42940108a187..78e4c74fbe5c 100644 --- a/drivers/mailbox/Kconfig +++ b/drivers/mailbox/Kconfig @@ -68,15 +68,6 @@ config OMAP2PLUS_MBOX OMAP2/3; or IPU, IVA HD and DSP in OMAP4/5. Say Y here if you want to use OMAP2+ Mailbox framework support. -config OMAP_MBOX_KFIFO_SIZE - int "Mailbox kfifo default buffer size (bytes)" - depends on OMAP2PLUS_MBOX - default 256 - help - Specify the default size of mailbox's kfifo buffers (bytes). - This can also be changed at runtime (via the mbox_kfifo_size - module parameter). - config ROCKCHIP_MBOX bool "Rockchip Soc Integrated Mailbox Support" depends on ARCH_ROCKCHIP || COMPILE_TEST |