switch-linux/drivers/mailbox
Sudeep Holla c61b781ee0 mailbox: always wait in mbox_send_message for blocking Tx mode
There exists a race when msg_submit return immediately as there was an
active request being processed which may have completed just before it's
checked again in mbox_send_message. This will result in return to the
caller without waiting in mbox_send_message even when it's blocking Tx.

This patch fixes the issue by waiting for the completion always if Tx
is in blocking mode.

Fixes: 2b6d83e2b8 ("mailbox: Introduce framework for mailbox")
Reported-by: Alexey Klimov <alexey.klimov@arm.com>
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
Reviewed-by: Alexey Klimov <alexey.klimov@arm.com>
Signed-off-by: Jassi Brar <jaswinder.singh@linaro.org>
2017-04-27 16:20:04 +05:30
..
arm_mhu.c
bcm-flexrm-mailbox.c mailbox: Add driver for Broadcom FlexRM ring manager 2017-03-28 23:33:30 +05:30
bcm-pdc-mailbox.c mailbox: bcm-pdc: Add Northstar Plus support to PDC driver 2017-03-28 23:27:56 +05:30
bcm2835-mailbox.c
hi6220-mailbox.c mailbox: constify mbox_chan_ops structures 2017-03-28 23:27:32 +05:30
Kconfig mailbox: Remove depends on COMPILE_TEST for BCM_FLEXRM_MBOX 2017-03-29 11:08:30 +05:30
mailbox-altera.c
mailbox-sti.c
mailbox-test.c sched/headers: Prepare to move signal wakeup & sigpending methods from <linux/sched.h> into <linux/sched/signal.h> 2017-03-02 08:42:32 +01:00
mailbox-xgene-slimpro.c mailbox: constify mbox_chan_ops structures 2017-03-28 23:27:32 +05:30
mailbox.c mailbox: always wait in mbox_send_message for blocking Tx mode 2017-04-27 16:20:04 +05:30
mailbox.h
Makefile mailbox: Add driver for Broadcom FlexRM ring manager 2017-03-28 23:33:30 +05:30
omap-mailbox.c
pcc.c
pl320-ipc.c
platform_mhu.c
rockchip-mailbox.c
tegra-hsp.c
ti-msgmgr.c