Skip to content
Commit 64834df7 authored by Lina Iyer's avatar Lina Iyer
Browse files

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: default avatarLina Iyer <ilina@codeaurora.org>
parent 191ff2f4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment