drivers: mailbox: relax CPU to allow interrupt handlers to run
When the RPMH communication is extremely stressed, the interrupt
handlers do not get a chance to run and free the TCS, because the
requests are the holding the spin lock (which disables the interrupts)
and spin while waiting for a free TCS to write to. Instead, return from
the controller so that control goes back to the mailbox framework that
releases the spin lock, allowing the interrupt handlers to run before
retrying again.
Also, reduce the verbosity of the messages in retrying. The excessive
messages themselves add to the cause.
Change-Id: Ib37122a95c0424a02d05512a28f4d94e43a783c9
Signed-off-by: Lina Iyer <ilina@codeaurora.org>
Loading
Please register or sign in to comment