Re: [PATCH] rpmsg: glink: Use spinlock in tx path

2018-03-19 Thread Srinivas Kandagatla
On 14/02/18 03:04, Bjorn Andersson wrote: Switch the tx_lock to a spinlock we allow clients to use rpmsg_trysend() from atomic context. In order to allow clients to sleep while waiting for space in the FIFO we release the lock temporarily around the delay; which should be replaced by sending a

Re: [PATCH] rpmsg: glink: Use spinlock in tx path

2018-02-21 Thread Chris Lew
Hey Bjorn, Minor issue with the glink patch. Thanks, Chris On 2/13/2018 11:04 AM, Bjorn Andersson wrote: [..] @@ -288,15 +288,14 @@ static int qcom_glink_tx(struct qcom_glink *glink, const void *data, size_t dlen, bool wait) { unsigned int tlen = hlen + dlen