diff options
| author | Beleswar Padhi <b-padhi@ti.com> | 2025-09-08 19:58:07 +0530 |
|---|---|---|
| committer | Hiago De Franco <hiago.franco@toradex.com> | 2025-10-16 10:50:05 -0300 |
| commit | 6ca59423cd97fa50fcc21c4caeff6b647aa8a536 (patch) | |
| tree | 5a621dcae354037984cf6d0b5f434e642bc87c8e /net/dsa/trace.c | |
| parent | d1c9722bff18d31b9dd974ad61339b702e535173 (diff) | |
arm64: dts: ti: k3-am62p-verdin: Add missing cfg for TI IPC Firmwaretoradex_ti-linux-6.6.y
The wkup_r5fss0_core0_memory_region is used to store the text/data
sections of the Device Manager (DM) firmware itself and is necessary for
platform boot. Whereas the wkup_r5fss0_core0_dma_memory_region is used
for allocating the Virtio buffers needed for IPC with the DM core which
could be optional. The labels were incorrectly used in the
k3-am62p-verdin.dtsi file. Correct the firmware memory region label.
Currently, only mailbox node is enabled with FIFO assignment. However,
there are no users of the enabled mailboxes. Add the missing carveouts
for WKUP and MCU R5F remote processors, and enable those by associating
to the above carveout and mailboxes. This config aligns with other AM62P
boards and can be refactored out later.
This backport includes a small change:
The mailbox for the Cortex-R5 running the DM firmware has been removed.
The current DM firmware includes an echo RPMsg demo, as noted by TI [1].
This firmware communicates with the Cortex-R5 using hardware FIFO number
5 — a direct channel between the R5 and DM R5 that is not managed by the
Linux kernel. As a result, when the mailbox is enabled, it
automatically sends a message to the Cortex-R5 even if no firmware is
running on it.
A proper fix would involve either updating the DM firmware or modifying
the omap-mailbox driver to handle only the FIFOs under Linux control.
However, since the DM R5 is not used as a general-purpose remote
processor (the other R5F core is) there is no reason to keep this mailbox
enabled at the moment. Keeping it disabled avoids regressions in
suspend/resume behavior. For now, this will remain disabled until a
proper implementation for suspend/resume reaches mainline.
[1] https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1557295/am62p-mailbox-channel-is-not-freed-d
uring-r5-remoteproc-stop-call/5996650
Upstream-Status: Backport [fc4f6f0146d4c778859042a76b1e932b6334bf96]
Signed-off-by: Beleswar Padhi <b-padhi@ti.com>
Tested-by: Hiago De Franco <hiago.franco@toradex.com> # Verdin AM62P
Acked-by: Francesco Dolcini <francesco.dolcini@toradex.com>
Link: https://patch.msgid.link/20250908142826.1828676-16-b-padhi@ti.com
Signed-off-by: Nishanth Menon <nm@ti.com>
Diffstat (limited to 'net/dsa/trace.c')
0 files changed, 0 insertions, 0 deletions
