Re: [PATCH 1/3] mailbox: always wait in mbox_send_message for blocking Tx mode

2017-04-11 Thread Alexey Klimov
On Tue, Mar 21, 2017 at 11:30:14AM +, 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 will result in return to the > caller without

Re: [PATCH 1/3] mailbox: always wait in mbox_send_message for blocking Tx mode

2017-03-29 Thread Jassi Brar
On Wed, Mar 29, 2017 at 5:04 PM, Sudeep Holla wrote: > > On 28/03/17 19:20, Jassi Brar wrote: >> Hi Sudeep, >> >> On Tue, Mar 21, 2017 at 5:00 PM, Sudeep Holla wrote: >>> There exists a race when msg_submit return immediately as there was an >>> active request being processed which may have compl

Re: [PATCH 1/3] mailbox: always wait in mbox_send_message for blocking Tx mode

2017-03-29 Thread Sudeep Holla
On 28/03/17 19:20, Jassi Brar wrote: > Hi Sudeep, > > On Tue, Mar 21, 2017 at 5:00 PM, 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.

Re: [PATCH 1/3] mailbox: always wait in mbox_send_message for blocking Tx mode

2017-03-28 Thread Jassi Brar
Hi Sudeep, On Tue, Mar 21, 2017 at 5:00 PM, 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 will result in return to the > caller with

[PATCH 1/3] mailbox: always wait in mbox_send_message for blocking Tx mode

2017-03-21 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