Skip to content
Commit c76adb2b authored by Hari Nagalla's avatar Hari Nagalla Committed by Xulin Sun
Browse files

remoteproc: k3-r5: support for graceful stop of remote cores

commit 1db4571a37a91dac5c68e6bb3337151028e4d52f from
git://git.ti.com/ti-linux-kernel/ti-linux-kernel.git



Introduce software IPC handshake between the K3-R5 remote proc driver
and the R5 MCU to gracefully stop/reset the remote core.
Upon a stop request, K3-R5 remote proc driver sends a mailbox message,
'RP_MBOX_SHUTDOWN' to the remote R5 core. The remote core is expected
to relinquish all the resources acquired through Device Manager (DM),
disable its interrupts, send a mailbox acknowledgment
(RP_MBOX_SHUDOWN_ACK)to the MPU R5 driver and enter WFI state.
After receiving the ACK from the remote core, R5 driver requests to
reset the remote core through device manager.

Signed-off-by: default avatarHari Nagalla <hnagalla@ti.com>
Signed-off-by: default avatarXulin Sun <xulin.sun@windriver.com>
parent dafa437a
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment