Browse Source
This patch fixes the mailbox stall issue when sending mailbox command that is larger than mailbox command FIFO size. Large mailbox command will be sent to SDM in multiple chunks. HPS will set doorbell to SDM when command FIFO full (is_doorbell_triggered will be set to 1) to notify SDM to read the command data from FIFO, so that HPS can continue to send the next chunk of command data. However, HPS will not set the doorbell to SDM at the end if the doorbell have been set earlier due to FIFO full. This will cause SDM mailbox service stall because it is still waiting for last chunk of command data. This patch fixes the code to always set the doorbell to SDM at the end to get rid of stall issue. Signed-off-by: Siew Chin Lim <elly.siew.chin.lim@intel.com> Change-Id: Idbe62410a00d92a30c7aeaa26d53d79a910cac0apull/1985/head
Siew Chin Lim
3 years ago
committed by
Sieu Mun Tang
1 changed files with 2 additions and 4 deletions
Loading…
Reference in new issue