• Andrew Davis's avatar
    mailbox: omap: Remove kernel FIFO message queuing · 3f58c1f4
    Andrew Davis authored
    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: default avatarAndrew Davis <afd@ti.com>
    Signed-off-by: default avatarJassi Brar <jassisinghbrar@gmail.com>
    3f58c1f4
omap-mailbox.c 14.7 KB