linux-stable/drivers/rpmsg
Bjorn Andersson 178f3f75bb rpmsg: smd: Don't hold the tx lock during wait
Holding the tx lock while waiting for tx-drain events from the remote
side blocks try_send requests from failing quickly, so temporarily drop
the tx lock while waiting.

While this allows try_send to fail quickly it also could allow a
subsequent send to succeed putting a smaller packet in the FIFO while
we're waiting for room for our large packet. But as this lock is per
channel we expect that clients with ordering concerns implements their
own ordering mechanism.

Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
2017-12-18 21:50:11 -08:00
..
Kconfig rpmsg: Allow RPMSG_VIRTIO to be enabled via menuconfig or defconfig 2017-10-25 21:51:05 -07:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
qcom_glink_native.c rpmsg: glink: The mbox client knows_txdone 2017-11-15 22:58:01 -08:00
qcom_glink_native.h rpmsg: glink: Make RX FIFO peak accessor to take an offset 2017-08-29 20:34:13 -07:00
qcom_glink_rpm.c rpmsg: glink: Make RX FIFO peak accessor to take an offset 2017-08-29 20:34:13 -07:00
qcom_glink_smem.c rpmsg: glink: smem: Ensure ordering during tx 2017-12-18 21:47:43 -08:00
qcom_smd.c rpmsg: smd: Don't hold the tx lock during wait 2017-12-18 21:50:11 -08:00
rpmsg_char.c rpmsg updates for v4.13 2017-07-06 15:38:31 -07:00
rpmsg_core.c rpmsg updates for v4.13 2017-07-06 15:38:31 -07:00
rpmsg_internal.h rpmsg: Driver for user space endpoint interface 2017-01-18 10:43:15 -08:00
virtio_rpmsg_bus.c rpmsg: virtio_rpmsg_bus: fix sg_set_buf() when addr is not a valid kernel address 2017-08-24 15:37:28 -07:00