linux-hardened/drivers/rpmsg
Bjorn Andersson 33e3820dda rpmsg: smd: Use spinlock in tx path
By switching the tx_lock to a spinlock we allow clients to use
rpmsg_trysend() from atomic context.

The mutex was interruptable as it was previously held for the duration
of some client waiting for available space in the FIFO, but this was
recently changed to only be held temporarily - allowing us to replace it
with a spinlock.

Tested-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
2018-03-20 10:52:17 +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: Fix missing mutex_init() in qcom_glink_alloc_channel() 2018-01-02 09:23:20 -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: use put_device() if device_register fail 2018-03-17 21:45:57 -07:00
qcom_smd.c rpmsg: smd: Use spinlock in tx path 2018-03-20 10:52:17 +08:00
rpmsg_char.c vfs: do bulk POLL* -> EPOLL* replacement 2018-02-11 14:34:03 -08:00
rpmsg_core.c the rest of drivers/*: annotate ->poll() instances 2017-11-28 11:06:58 -05:00
rpmsg_internal.h the rest of drivers/*: annotate ->poll() instances 2017-11-28 11:06:58 -05: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