Re: [PATCH 11/18] rpmsg: glink: Use the local intents when receiving data

2017-08-22 Thread Sricharan R
Hi, >>   -    /* Might have an ongoing, fragmented, message to append */ >> -    if (!channel->buf) { >> -    channel->buf = kmalloc(chunk_size + left_size, GFP_ATOMIC); >> -    if (!channel->buf) >> -    return -ENOMEM; >> +    if (glink->intentless) { >> +    /* Might have

Re: [PATCH 11/18] rpmsg: glink: Use the local intents when receiving data

2017-08-22 Thread Arun Kumar Neelakantam
On 8/16/2017 10:49 PM, Sricharan R wrote: So previously on request from remote side, we allocated local intent buffers and passed the ids to the remote. Now when we receive data buffers from remote directed to that intent id, copy the data to the corresponding preallocated intent buffer. Signe

[PATCH 11/18] rpmsg: glink: Use the local intents when receiving data

2017-08-16 Thread Sricharan R
So previously on request from remote side, we allocated local intent buffers and passed the ids to the remote. Now when we receive data buffers from remote directed to that intent id, copy the data to the corresponding preallocated intent buffer. Signed-off-by: Sricharan R Signed-off-by: Bjorn An