Re: [PATCH] mailbox: always wait in mbox_send_message for blocking tx mode

2017-03-20 Thread Sudeep Holla
On 20/03/17 18:47, Alexey Klimov wrote: > Hi Sudeep, > > thanks for sending this patch. > > On Mon, Mar 20, 2017 at 03:40:10PM +, Sudeep Holla wrote: >> There exists a race when msg_submit return immediately as there was an >> active request being processed which may have completed just bef

Re: [PATCH] mailbox: always wait in mbox_send_message for blocking tx mode

2017-03-20 Thread Alexey Klimov
Hi Sudeep, thanks for sending this patch. On Mon, Mar 20, 2017 at 03:40:10PM +, Sudeep Holla wrote: > 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 wi

[PATCH] mailbox: always wait in mbox_send_message for blocking tx mode

2017-03-20 Thread Sudeep Holla
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 f