remoteproc: renesas: Synchronize caches across cores
authorMarek Vasut <marek.vasut+renesas@mailbox.org>
Wed, 29 Jan 2025 21:54:50 +0000 (22:54 +0100)
committerMarek Vasut <marek.vasut+renesas@mailbox.org>
Tue, 4 Feb 2025 22:32:00 +0000 (23:32 +0100)
commit5392ad2fd9ed082e40dac86174e6a737d177c143
tree586da5b54fd7b952c6b792363e54b483ddf38bcb
parent97c125e6bb441a8062bdd28e82f17b1da1224416
remoteproc: renesas: Synchronize caches across cores

Explicitly flush icache on the CR52 core before jumping to the next
stage software to make sure it does not contain any invalid content.
Explicitly flash and invalidate dcache on the CA76 core both over the
trampoline buffer and over the CR52 firmware, and then trigger full
system synchronization, to make sure the data surely land in DRAM,
from where the CR52 can surely pick them up.

Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
arch/arm/mach-renesas/include/mach/boot0.h
drivers/remoteproc/renesas_apmu.c